closest#
- PointData.closest(start, end)#
Get the closest point on a line segment from the point.
- Parameters:
- startPoint2DLike
Start point of the line segment.
- endPoint2DLike
End point of the line segment.
- Returns:
Get the closest point on a line segment from the point.
Start point of the line segment.
End point of the line segment.