Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polygon to Nef-Polyhedrons...

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polygon to Nef-Polyhedrons...


Chronological Thread 
  • From: Efraim Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] Polygon to Nef-Polyhedrons...
  • Date: Mon, 29 Jan 2007 18:06:53 +0200

Keith Ealanta wrote:

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.

If all you need are regularized operations, check out the Boolean_set_operations_2 package.


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



--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/




Archive powered by MHonArc 2.6.16.

Top of Page