Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal
- Date: Wed, 18 Jan 2012 09:36:57 +0100
As described here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Surface_reconstruction_points_3_ref/Class_Poisson_reconstruction_function.html
you need to provide a point property map and a vector property map. In
your case you can use First_of_pair_property_map and Second_of_pair_property_map respectively.
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Property_map_ref/Class_First_of_pair_property_map.html
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Property_map_ref/Class_Second_of_pair_property_map.html
Sebastien.
jonathan KHAO wrote:
Hi there, Recently discovered CGAL : amazing library ! I'm currently trying to reconstruct some meshes based on a xyz point set without normals. Managed to do it with normal_estimation and poisson_reconstruction examples, but I'd like to merge them in a single binary for a starter.
I'm a newbie to CGAL so the answer might seem obvious... It seems that normal_estimation outputs a vector <Point, Vector> whereas poisson_reconstruction requires a deque of Point_with_normal. How can I convert the these lists ? Is there a simpler way to do that ?
Thanks !
--
KHAO Jonathan, Ph.D.
Aix-Marseille Université
Assemblage et dynamique des protéines membranaires
Laboratoire d'Ingenierie des Systèmes Macromoléculaires
UPR9027 CNRS
- [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal, jonathan KHAO, 01/17/2012
- Re: [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal, Sebastien Loriot (GeometryFactory), 01/18/2012
- Re: [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal, jonathan KHAO, 01/18/2012
- Re: [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal, Sebastien Loriot (GeometryFactory), 01/18/2012
Archive powered by MHonArc 2.6.16.