Methods for computing Polyhedral Mass properties (like inertia tensor, volume, etc)
More...
template<class MeshType>
class vcg::tri::Inertia< MeshType >
Methods for computing Polyhedral Mass properties (like inertia tensor, volume, etc)
The algorithm is based on a three step reduction of the volume integrals to successively simpler integrals. The algorithm is designed to minimize the numerical errors that can result from poorly conditioned alignment of polyhedral faces. It is also designed for efficiency. All required volume integrals of a polyhedron are computed together during a single walk over the boundary of the polyhedron; exploiting common subexpressions reduces floating point operations.
For more information, check out:
Brian Mirtich, ``Fast and Accurate Computation of Polyhedral Mass Properties,'' journal of graphics tools, volume 1, number 2, 1996
Definition at line 54 of file inertia.h.