Hi people,

if it is not possible to use a delaunay triangulation with surface mesh

is there an easy way to use it on a Polyhedron_3 Mesh and convert it a

surface mesh?

I realy just want the triangulated, indexbased version of a 3d point

cloud without including pcl into the project.

Kind regards

Rashid

Am 12.02.19 um 18:07 schrieb Rash:

> How to create a Surface_mesh from Surface_mesh_default_triangulation_3

> and a vector of points?

>

> I tried this but failed

>

> typedef CGAL::Surface_mesh_default_triangulation_3 Triangulation;

>

> typedef CGAL::Simple_cartesian<double> Kernel;

> typedef CGAL::Point_3<Kernel> Point;

>

>

>

> int main()

> {

>

> Triangulation tr;

> std::vector<Point> points;

>

>

>

> //how do I create Surface_mesh from points?

> tr.insert(points); //does sadly not work

>

> Surface_mesh mesh = tr.createMeshFromPoints(points);

> }

>

--

You are currently subscribed to cgal-discuss.

To unsubscribe or access the archives, go to

https://sympa.inria.fr/sympa/info/cgal-discuss