Closed mblinsitu closed 1 year ago
This is unfortunately a consequence of the "divide and conquer" algorithm. At the scale of "this bounding box constitutes a little less than a pixel" we get one or more adjacent-but-not-overlapping bounding boxes on one curve, overlapping a similar set of one or more bounding boxes on the other curve. So you can end up with quite a few intersection points that are nearly identical (while at the mathematical level being completely distinct intersections, of course).
When intersecting two Bezier segments, I often get 2 or 3 intersections that are very close to each other instead of a single one. For example:
Is this a bug or a feature? I tried to play with the
curveIntersectionThreshold
parameter but it didn't help.Thanks!