allowedPointClosestTo

open fun allowedPointClosestTo(position: P): P?(source)

Retrieves (if available) the valid point closest to position, using the default options.


abstract fun allowedPointClosestTo(position: P, options: O): P?(source)

Retrieves (if available) the valid point closest to position with the provided options. For instance, this method could be used to find the pedestrian-allowed road closer to a highway.