problem with GeomFill_BSplineCurves

Hello,
I have a problem with GeomFill_BSplineCurves. I generated four boundary curves with GeomAPI_PointsToBSpline and 100 points for each curve. The curves looks always ok, I drawed them on the screen. But GeomFill_BSplineCurves crashes sometimes somewhere in free.c.
Does anybody knows this problem or has an idea how to solve?

Best regards,
Gernot Knieling

LI's picture

GeomFill_BSplineCurves requires strictly that the boundary curves (n=2,3,4) are connected. Its precision is 1e-7. Print the boundary points and check if they are connected under the precision.