closestPointTo

open fun closestPointTo(point: Vector2F): Vector2F

Returns the closest point on this line segment to the given point.