1
0
Fork 0

more point docs updates

This commit is contained in:
Sanne Kalkman 2021-11-06 18:20:45 +01:00
parent 3b802a5b6a
commit 57048ecf1b
10 changed files with 63 additions and 38 deletions

View file

@ -1,18 +1,18 @@
---
title: sitsRoughlyOn()
title: Point.sitsRoughlyOn()
---
Returns `true` if this point has roughly (rounded to the nearest millimeter) the same coordinates as the one you pass to it.
```js
bool point.sitsRoughlyOn(Point check)
```
Returns true is the point has roughly the same coordinates as the one you pass to it.
<Note>
###### How rough?
The difference between this method and [Point.sitsOn](/reference/api/point/sitson/) is
The difference between this method and [`Point.sitsOn()`](/reference/api/point/sitson/) is
that this one rounds things down to the nearest integer (thus mm) before checking.
</Note>