Intersection of two polyhedra
Posted: Fri 9. Aug 2013, 18:12
Hi,
I need a method to get the intersection of two polyhedra (that works preferable also on two non-convex polyhedra, but not necessarily). Did I overlook such a method, or do I have to implement it myself? (Another method for the union would also be nice)
I think that more guys could need such a method =)
Maybe some more details to ensure everybody understands what I mean:
I have two polyhedra, e.g.
IndexedFaceSet ifs1, ifs2;
Then I would like to have a method:
IndexedFaceSet intersectIndexedFaceSets(IndexedFaceSet ifs1, IndexedFaceSet ifs2){}
which returns the intersection of these two polyhedra.
Yours,
Daniel
I need a method to get the intersection of two polyhedra (that works preferable also on two non-convex polyhedra, but not necessarily). Did I overlook such a method, or do I have to implement it myself? (Another method for the union would also be nice)
I think that more guys could need such a method =)
Maybe some more details to ensure everybody understands what I mean:
I have two polyhedra, e.g.
IndexedFaceSet ifs1, ifs2;
Then I would like to have a method:
IndexedFaceSet intersectIndexedFaceSets(IndexedFaceSet ifs1, IndexedFaceSet ifs2){}
which returns the intersection of these two polyhedra.
Yours,
Daniel