triangulation of a 3D polygon

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

triangulation of a 3D polygon

Hello everyone,

What is the best way to triangulate a 3D polygon with hole.

I try this :

    Mesh meshOut = triangulateLineStringMesh(poly.exteriorRing()); // a
function wich transform a ring (of my polygon) in Surface_mesh and
triangulate it.

    for (size_t i(0); i<poly.numInteriorRing(); i++)
        Mesh meshInt = triangulateLineStringMesh(poly.interiorRingN(i));

But the corefine_and_compute_difference doesn't work. Probably because my
mesh are not volume.

i'm sure that there is an easy way...


Sent from:

You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to