CGAl binding Polyhedron_3

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

CGAl binding Polyhedron_3

elmo
This post was updated on .
Hello,

Im using CGAL bindings to create a convex hull from a point cloud:

    res = Polyhedron_3()
    CGAL_Convex_hull_3.convex_hull_3(pc_cgal, res)

Im able to get the convex points:

    for r in res.points():
        print(r)

Now, how do I get the points of each facet (res.facets()) in the correct
order (normal vector pointing outwards)? I want to create a triangular
mesh.

Kind regards



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss