Returns the closest point on a polygon or polyline to a given point
points of the polygon
whether or not the polygon is closed
the point
The closest point on the polygon or polyline
Returns the closest point on a polygon or polyline to a given point