Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Assessing the facet of a halfedge in a nef-polyhedron

Subject: CGAL users discussion list

List archive

[cgal-discuss] Assessing the facet of a halfedge in a nef-polyhedron


Chronological Thread 
  • From: Martin Baeker <>
  • To: CGAL Mailinglist <>
  • Subject: [cgal-discuss] Assessing the facet of a halfedge in a nef-polyhedron
  • Date: Tue, 16 Mar 2010 09:21:11 +0100 (CET)
  • Organization: Institut fuer Werkstoffe TU Braunschweig

Dear experts,

when I create a Nef-Polyhedron, I can easily iterate over all its
(half)edges like this: (The Nef_polyhedron is called Cube here)

for(Nef_polyhedron::Halfedge_const_iterator
e = Cube.halfedges_begin(),
end = Cube.halfedges_end();
e != end; ++e)
{
// do stuff
}

Is there a way to get at the facet(s) that are bordered by e? The
spherical-map concept allows to adress SFaces, but these seem not to
be identical to the facets of the polyhedron - I have to admit that
I'm a bit confused by the spherical-map concept...

Thanks a lot for any help,

Martin.


Priv.-Doz. Dr. Martin Bäker
Institut für Werkstoffe
Technische Universität Braunschweig
Langer Kamp 8
38106 Braunschweig
Germany
Tel.: 00-49-531-391-3073
Fax 00-49-531-391-3058
e-mail
<>


Archive powered by MHonArc 2.6.16.

Top of Page