OCCNurbsCurve.closest_point
- OCCNurbsCurve.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:
- point
Point
The point to project to the curve.
- return_parameterbool, optional
If True, return the curve parameter in addition to the closest point.
- point
- Returns: