Subject: CGAL users discussion list
List archive
- From: Stephen Wong <>
- To: "" <>
- Subject: Shell-like iteration in Polyhedra class
- Date: Tue, 8 Jan 2008 10:51:56 -0800
- Accept-language: en-US, en-CA
- Acceptlanguage: en-US, en-CA
Hello, Nef Polyhedra has a well-defined set of volume and shell
iterators. However, after converting Nef Polyhedra back to B-rep
Polyhedra using Nef_polyhedron_3<>::convert_to_Polyhedron() (after a Boolean
operation, for example), the Polyhedron class does not have similar iterators. How can I iterate the faces between different “volumes”
or “shells” in a Polyhedron? A concrete example: Nef polyhedron N1 is a box with lower left (0,0,0) and upper
right (3,3,3) Nef polyhedron N2 is a box with lower left (1,1,1) and upper
right (2,2,2) N1 -= N2 ; // difference boolean operator N1.convert_to_Polyhedron() ; This resultant Polyhedron has an outer shell and an inner
shell bounding the void inside the cube. I want to access facets for each
shell of the Polyhedron. The function facets_begin() provided in the Polyhedron
class iterates through all facets in the polyhedron, i.e. all shells without
distinction. Thanks, Stephen Wong |
- Shell-like iteration in Polyhedra class, Stephen Wong, 01/08/2008
- Re: [cgal-discuss] Shell-like iteration in Polyhedra class, Peter Hachenberger, 01/08/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Stephen Wong, 01/08/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Peter Hachenberger, 01/08/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Stephen Wong, 01/09/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Peter Hachenberger, 01/09/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Stephen Wong, 01/09/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Peter Hachenberger, 01/08/2008
- RE: [cgal-discuss] Shell-like iteration in Polyhedra class, Stephen Wong, 01/08/2008
- Re: [cgal-discuss] Shell-like iteration in Polyhedra class, Peter Hachenberger, 01/08/2008
Archive powered by MHonArc 2.6.16.