more point docs updates
This commit is contained in:
parent
3b802a5b6a
commit
57048ecf1b
10 changed files with 63 additions and 38 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue