Subject: CGAL users discussion list
List archive
- From: Keith Ealanta <>
- To:
- Subject: Polygon to Nef-Polyhedrons...
- Date: Tue, 30 Jan 2007 01:36:11 +1100
I have a pair of polygons A & B, and I need to perform boolean operations on them to produce the polygon C where C is one of A & B, A | B, A|B xor A&B etc. If I understand correctly this means I need to use Nef_Polygons of even Nef_Polyhedrons and then pull it back out into a complex polygon afterwards.
Can anyone explain the process by which I make that conversion (I keep getting compile errors like "unable to convert Point_2 to Extended_point.")
Ideally I'd just create Nef_polygons to start with, store my data in them, and be able to perform the boolean operations dirctly on them, but that also seems impossible as I need to be able to create them using the push_back(point_2) operator or it's equivalent, and I've likewise failed to get that to work.
Sorry for what is doubtless a set of noob questions. This is my first real try to do anything with CGAL.
Any help that can be offered will be greatly appreciated.
Thanks,
Keith Ealanta
- Polygon to Nef-Polyhedrons..., Keith Ealanta, 01/29/2007
- Re: [cgal-discuss] Polygon to Nef-Polyhedrons..., Efraim Fogel, 01/29/2007
Archive powered by MHonArc 2.6.16.