GeomAPI_ExtremaCurveCurve fails with an infinite line

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


Forum supervisor's picture

Dear Mauro,
I suggest you to register the issue in Mantis Bugtracker which is available now via the Collaborative portal -
Don't forget to attach all necessary data for reproducing of the specified case.