Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal

Subject: CGAL users discussion list

List archive

[cgal-discuss] Converting pair<Point,Vector> to Point_with_normal


Chronological Thread 
  • From: jonathan KHAO <>
  • To:
  • Subject: [cgal-discuss] Converting pair<Point,Vector> to Point_with_normal
  • Date: Tue, 17 Jan 2012 16:04:50 +0100

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




Archive powered by MHonArc 2.6.16.

Top of Page