The CvCvIntersector method is throwing an exception with the message Dimension mismatch for 2D rational spline curves. The method works without issues for 3D curves. While debugging this issue, I noticed that the intersector is computing a cross product.
The exception can be reproduced with test_CvCvIntersector.h in the intersections module and the two attached curves.
2d_spline_curves.zip
The
CvCvIntersectormethod is throwing an exception with the messageDimension mismatchfor 2D rational spline curves. The method works without issues for 3D curves. While debugging this issue, I noticed that the intersector is computing a cross product.The exception can be reproduced with
test_CvCvIntersector.hin theintersectionsmodule and the two attached curves.2d_spline_curves.zip