]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_ShapeProps.h
Salome HOME
Multiple objects and tools for Boolean operations.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_ShapeProps.h
index abc7faa724bc77bfc401d2d98304db49b539c97c..d802840db214514bb1c61b81419067bf060d1b8f 100644 (file)
@@ -22,8 +22,8 @@ public:
   /// \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);
 };