xksh
xksh

Reputation: 3

Surface area of a convex hull in 3D

Trying to calculate the surface area of a convex hull in 3D, using CGAL. I have looked at the user manual (http://doc.cgal.org/latest/Convex_hull_3/index.html#Chapter_3D_Convex_Hulls) and have not found any material covering this. I have tried to use polygon_area_2d to calculate the area of the convex hull facets, but have not been successful. Has anybody successfully calculated the area of a 3D convex hull/any suggestions?

Upvotes: 0

Views: 654

Answers (1)

sloriot
sloriot

Reputation: 6253

Using this example, you compute a triangulation of the convex hull. Them iterating over all the facets of the polyhedron, you can compute the area of each triangle and get the result.

See also this function

Upvotes: 1

Related Questions