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