Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Convex_hull_3 - CGAL
- Date: Thu, 24 Oct 2013 07:11:37 +0200
- Organization: GeometryFactory
On 10/24/2013 05:31 AM, Nuno Pessanha Santos wrote:
Hi,
I am starting to use CGAL, and maybe this is a stupid question but I
need some help.
When you use the function "CGAL::convex_hull_3(points.begin(),
points.end(), Polyhedron_3 poly);" you obtain the polyhedron poly.
How can I read the obtained vertices or the points index that are
contained in the convex hull? I see so many examples but none of them
could help me in my task.
Is the following what you are looking for?
Polyhedron_3 poly;
CGAL::convex_hull_3(points.begin(), points.end(), poly);
std::vector<Point_3> chull_points(poly.points_begin(), poly.points_end());
Sebastien
Thanks
Nuno Pessanha Santos
- [cgal-discuss] Convex_hull_3 - CGAL, Nuno Pessanha Santos, 10/24/2013
- Re: [cgal-discuss] Convex_hull_3 - CGAL, Sebastien Loriot (GeometryFactory), 10/24/2013
- RE: [cgal-discuss] Convex_hull_3 - CGAL, Nuno Pessanha Santos, 10/24/2013
- Re: [cgal-discuss] Convex_hull_3 - CGAL, Sebastien Loriot (GeometryFactory), 10/24/2013
- RE: [cgal-discuss] Convex_hull_3 - CGAL, Nuno Pessanha Santos, 10/24/2013
- Re: [cgal-discuss] Convex_hull_3 - CGAL, Sebastien Loriot (GeometryFactory), 10/24/2013
- Re: [cgal-discuss] Convex_hull_3 - CGAL, Philipp Moeller, 10/24/2013
- RE: [cgal-discuss] Convex_hull_3 - CGAL, Nuno Pessanha Santos, 10/24/2013
- RE: [cgal-discuss] Convex_hull_3 - CGAL, Nuno Pessanha Santos, 10/24/2013
- Re: [cgal-discuss] Convex_hull_3 - CGAL, Sebastien Loriot (GeometryFactory), 10/24/2013
- RE: [cgal-discuss] Convex_hull_3 - CGAL, Nuno Pessanha Santos, 10/24/2013
- Re: [cgal-discuss] Convex_hull_3 - CGAL, Sebastien Loriot (GeometryFactory), 10/24/2013
Archive powered by MHonArc 2.6.18.