Subject: CGAL users discussion list
List archive
- From: Ashwin Nanjappa <>
- To:
- Subject: Re: [cgal-discuss] question about edge/boundary of convex hull
- Date: Thu, 29 Nov 2007 19:17:25 +0800
Vincent Wolowski wrote:
[...]
I have a set of points in 3D, for which I would like to calculate an
area, they are all part of, and determine which points are on the
edge/boundary of the area.
In CGAL I found an implementation for convex hull which could be suitable.
But I cannot find any method that would allow to determine the
edge/boundary of the convex hull.
Vincent, after you construct the convex hull, assign it to a Polyhedron_3 object. You should be able to iterate through the vertices and facets of the polyhedron. This is the boundary you want.
Since you mention the points are in 3D, I'm guessing you want the volume when you mention "area they are all part of". I don't know if CGAL provides the volume of a polyhedron. OTOH if you want the area of the boundary, you could sum up the areas of the boundary facets.
~ash
- Re: [cgal-discuss] question about edge/boundary of convex hull, Vincent Wolowski, 11/24/2007
- Re: [cgal-discuss] question about edge/boundary of convex hull, Ashwin Nanjappa, 11/29/2007
- Re: [cgal-discuss] question about edge/boundary of convex hull, Vincent Wolowski, 11/30/2007
- Re: [cgal-discuss] question about edge/boundary of convex hull, Ashwin Nanjappa, 11/29/2007
Archive powered by MHonArc 2.6.16.