News for hackers. Stuff that matters.
Re:Deconstructing Bézier Curves by 082349872349872 on Tuesday August 16, 2022 @01:55PM (#32486363)
If you still have the original paths, mustn't[0] "in" and "out" alternate?

[0] assuming intersection multiplicity degeneracy is handled elsewhere, but maybe not having to do that is what winding number provides?

Re:Deconstructing Bézier Curves by raphlinus on Tuesday August 16, 2022 @02:05PM (#32486499)
This is exactly the hard part. If you have an intersection of even multiplicity, then they won't alternate. In addition, when you're using these things for path intersection, you also want to be notified of "near misses", because adding floating point roundoff could make these curves intersect even if the exact input doesn't.