Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh)
Chronological Thread
- From: Nicholas Mario Wardhana <>
- To:
- Subject: Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh)
- Date: Tue, 18 Jan 2011 11:03:56 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=acPgJK6OV4mzEjsDLDomO6wIaB4utSMXxvR6qQwERLyCH/4Mpn9ex195JE4e4lENYd Q8d7mGXjoaU+t2Y4BgP7oxs91ec3+gE6XUn28T1EC3sSB5Io8FO/YI+iPf5/LIYlp596 m0OGOfXV8aUWoU9MElJIvf5N80FfUKM2DEMC0=
On 17 January 2011 15:08, Sebastien Loriot (GeometryFactory)
<>
wrote:
> There is nothing to do it directly.
> However, note that the Polyhedron has a template parameter to tune
> the underlying HDS used.
> The HDS can be either base on a lists (the default for Polyhedron) or on
> vectors. In the case of vectors, you have random access to facets container
> (using std::advance and facets_begin() for example).
>
> The price you have to pay to use HDS based on vector is that you need to
> have an upper bound on the number of vertices, facets and halfedges.
>
> See:
> http://www.cgal.org/Manual/latest/doc_html/cgal_manual/HalfedgeDS_ref/Class_HalfedgeDS_list.html#Cross_link_anchor_1121
> http://www.cgal.org/Manual/latest/doc_html/cgal_manual/HalfedgeDS_ref/Class_HalfedgeDS_vector.html#Cross_link_anchor_1122
>
>
> S.
>
Thank you for your explanation Sebastian, I think I can include both
functionalities (list and vector) in my wrapper class.
Best regards,
Nicholas Mario Wardhana
- [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh), Nicholas Mario Wardhana, 01/15/2011
- Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh), Sebastien Loriot (GeometryFactory), 01/17/2011
- Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh), Nicholas Mario Wardhana, 01/18/2011
- Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh), Nicholas Mario Wardhana, 01/18/2011
- Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh), Nicholas Mario Wardhana, 01/18/2011
- Re: [cgal-discuss] Accessing Facet_handle of a Polyhedron_3 by ID (was: Half-edge representation, CGAL vs OpenMesh), Sebastien Loriot (GeometryFactory), 01/17/2011
Archive powered by MHonArc 2.6.16.