Fixes a number of issues found when debugging the union test cases. One helpful thing is the new ability to calculate the 'effective t-value distance' between two points. Added quite a few test cases in MMClippingBezierGeometryTest to both verify and describe how it works.
in the above, those additional lines to (0, 300) don't actually move the path at all. so if we calculate an intersection at the end of element 3 and start of element 6, the path hasn't moved at all between those, so we should consider them equal intersections.
this helps reduce duplicate intersections that are otherwise found when we're calculating element by element.
Fixes a number of issues found when debugging the union test cases. One helpful thing is the new ability to calculate the 'effective t-value distance' between two points. Added quite a few test cases in
MMClippingBezierGeometryTest
to both verify and describe how it works.in the above, those additional lines to
(0, 300)
don't actually move the path at all. so if we calculate an intersection at the end of element 3 and start of element 6, the path hasn't moved at all between those, so we should consider them equal intersections.this helps reduce duplicate intersections that are otherwise found when we're calculating element by element.