I have some cases where GeomAPI_ExtremaCurveCurve fails to find all minimum distance points between a Geom_BSplineCurve and a (infinite) Geom_Line.
Is this a known limitation?
I have made this workaround:
- compute the BSpline bounding box
- project its eight vertex points on the line, finding the smallest and largest parameters
- trim the line with them