Skip to main content

Point.sitsRoughlyOn()

The Point.sitsRoughlyOn() method returns true if this point has roughly (rounded to the nearest millimeter) the same coordinates as the one you pass to it.

Signature

bool point.sitsRoughlyOn(Point check)

Example

An example of the Point.sitsRoughlyOn() method

Notes

The difference between this method and Point.sitsOn() is that this one rounds things down to the nearest integer (thus mm) before checking.