Back to class index
| Polyhedron::ApproximateConvexCentroidSyntaxfloat4 Polyhedron::ApproximateConvexCentroid() const; [8 lines of code]If this Polyhedron is a tetrahedron, this is the center of mass for the Polyhedron. Otherwise it is a kind of an approximate enter of mass, biased towards the direction where there are lots of vertices in the Polyhedron. Note This function is considerably faster than ConvexCentroid(). See Also |