OCCNurbsCurve.closest_points_curve
- OCCNurbsCurve.closest_points_curve(curve, return_distance=False)
Computes the points on curves where the curve is the closest to another given curve.
- Parameters:
- curve
OCCNurbsCurve The curve to find the closest distance to.
- return_distancebool, optional
If True, return the minimum distance between the curves in addition to the closest points.
- curve
- Returns:
- tuple[
Point,Point] | tuple[tuple[Point,Point], float] If return_distance is False, the closest points. If return_distance is True, the distance in addition to the closest points.
- tuple[