The geometric centroid of a polyhedron composed of
triangular faces with vertices
can be computed using the curl
theorem as
(1)
| |||
(2)
| |||
(3)
|
where the normal
is given by the cross product
(4)
|
This formula can be applied to polyhedra with arbitrary faces since faces having more than three vertices can be triangulated. Furthermore, the formula applies to concave polyhedra as well as convex ones.
The centroid can also be computed using the divergence theorem by integrating the functions ,
, and
which have divergence
,
,
everywhere, over the triangulated faces of the
polyhedron.