SINTEF-Geometry / GoTools

GoTools Geometry Toolkit
GNU Affero General Public License v3.0
69 stars 39 forks source link

Spline Curve Intersections Isoparametric Curve Exception #332

Open rjc8237 opened 2 years ago

rjc8237 commented 2 years ago

For some spline curves, the CvCvIntersector method is resulting the following exception GoTools/intersections/src/IsoparametricIntersectionCurve.C, line 97: Assertion 'ref_obj->numParams() == 2' failed. The curves where this is observed have regions that are nearly (but not exactly) overlapping.

The exception can be reproduced with test_CvCvIntersector.h in the intersections module and the two attached curves with aepsge=1e-10. isoparametric_error_curves.zip