/// \return the total volume of the solids of the current shape or 0.0 if it can be computed.
static double volume(std::shared_ptr<GeomAPI_Shape> theShape);
- /// \return the centre of mass of the current shape. The coordinates returned for the center of mass
- /// are expressed in the absolute Cartesian coordinate system.
+ /// \return the centre of mass of the current face. The coordinates returned for the center of mass
+ /// are expressed in the absolute Cartesian coordinate system. (This function works only for surfaces).
static std::shared_ptr<GeomAPI_Pnt> centreOfMass(std::shared_ptr<GeomAPI_Shape> theShape);
};