Subject: CGAL users discussion list
List archive
- From: "Jens K. Becker" <>
- To:
- Subject: [cgal-discuss] Pointer of facet to polyhedron
- Date: Mon, 16 Feb 2009 09:41:58 +0100
Hi all,
If I have a polyhedron, each vertex knows a halfedge pointing to it and
each halfedge knows a facet it is part of. I need to know to which
polyhedron a vertex, halfedge or facet belongs to ( I was thinking about
facets having a pointer to the polyhedron, that would be enough since I
could "ascend" from vertex to facet if I need to know to which
polyhedron a vertex belongs). Is it possible to include that (or does
that already exist and I have just missed it)? I could just add a
pointer to a facet and use it after creation of the polyhedron, but I am
not sure what happens to all during e.g. erase_center_vertex and so on,
would I need to update the pointers?
Thanks for your help,
Jens
--
Dr. J.K. Becker
University of Tuebingen - Institute for Geoscience
Sigwartst. 10 - 72076 Tuebingen (Germany)
Tel.: ++49 7071 29 73139 Fax: +49 7071 5059
Web: http://www.jkbecker.de
- [cgal-discuss] Pointer of facet to polyhedron, Jens K. Becker, 02/16/2009
Archive powered by MHonArc 2.6.16.