on

fun on(point: Vector3, error: Double = 5.0): Double?(source)

Checks if a give point lies on the contour

Return

the contour parameter in [0..1.0) if the point is within error null otherwise

Parameters

point

the point to check

error

what is the allowed error (unitless, but likely in pixels)