OCCCurve.closest_point
- OCCCurve.closest_point(point, return_parameter=False)
- Compute the closest point on the curve to a given point. If an orthogonal projection is not possible, the start or end point is returned, whichever is closer. - Parameters:
- pointPoint
- The point to project to the curve. 
- return_parameterbool, optional
- If True, return the curve parameter in addition to the closest point. 
 
- point
- Returns: