nearest

Finds point on the LineSegment that is nearest to the given point.

Parameters

query

The query point.