Geometry Algorithm question
-
Yes it's kind of a programming question, give me codez urgent$$ please... No seriously, no code needed just internet links! :) I am working on some geometry primitive library at home... geometry occlusion, union, intersection, XOR... Well started working would be more accurate. I found some good resources already, but they are for polygons (i.e. point joined by straight lines). My problem is my geometries would be delimited by linear, cubic and quadratic Bezier curve... Before I (attempt to) generalise the Vatti algorithm on my own or such... Could anyone direct me to some nice geometry library (preferably in either C#, C, C++, Java, Objective-C) that do Shape geometry operation please?! [EDIT] I found the proverbially scary library, the entire library, 26 classes all in one file! :O Clipper download | SourceForge.net[^] Anyway.. mm.. only 4718 lines for the whole library, not so bad after all! :laugh:
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
-
Yes it's kind of a programming question, give me codez urgent$$ please... No seriously, no code needed just internet links! :) I am working on some geometry primitive library at home... geometry occlusion, union, intersection, XOR... Well started working would be more accurate. I found some good resources already, but they are for polygons (i.e. point joined by straight lines). My problem is my geometries would be delimited by linear, cubic and quadratic Bezier curve... Before I (attempt to) generalise the Vatti algorithm on my own or such... Could anyone direct me to some nice geometry library (preferably in either C#, C, C++, Java, Objective-C) that do Shape geometry operation please?! [EDIT] I found the proverbially scary library, the entire library, 26 classes all in one file! :O Clipper download | SourceForge.net[^] Anyway.. mm.. only 4718 lines for the whole library, not so bad after all! :laugh:
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
Would a JavaScript library do? I recommend ProcessingJS. Processing.js[^] Khan Academy has some tutorials on how to use it. :)