Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree
- Date: Tue, 27 Sep 2011 10:07:27 +0200
You need to write you own model of AABBPrimitive
see here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/AABB_tree_ref/Concept_AABBPrimitive.html
The easy way to do it is to copy-paste-adapt the code of
AABB_polyhedron_triangle_primitive.
Sebastien.
Frankie Li wrote:
Hi all,
Is there a way to use the Facet_iterator (or Facets_in_complex_iterator) with AABB. My end goal is to put all of the boundary facets from a Complex 3 in triangulation 3 into an AABB_Tree, but Facet_iterator is non-mutable.
The only alternative I've come up with is to use a filtered_iterator with finite_facet_iterator from c3t3.triangulation().finite_facet_begin().
Thanks!
Frankie
- [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree, Frankie Li, 09/26/2011
- Re: [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree, Sebastien Loriot (GeometryFactory), 09/27/2011
- Re: [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree, Frankie Li, 09/27/2011
- Re: [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree, Laurent Rineau (GeometryFactory), 09/27/2011
- Re: [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree, Frankie Li, 09/27/2011
- Re: [cgal-discuss] using C3T3::Facet_iterator with AABB_Tree, Sebastien Loriot (GeometryFactory), 09/27/2011
Archive powered by MHonArc 2.6.16.