]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomAlgoAPI/GeomAlgoAPI_ShapeProps.h
Salome HOME
A fix for the next case:
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_ShapeProps.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        GeomAlgoAPI_ShapeProps.h
4 // Created:     8 May 2015
5 // Author:      Dmitry Bobylev
6
7 #ifndef GeomAlgoAPI_ShapeProps_H_
8 #define GeomAlgoAPI_ShapeProps_H_
9
10 /**\class GeomAlgoAPI_ShapeProps
11  * \ingroup DataAlgo
12  * \brief Allows to compute different shape props
13  */
14
15 #include <GeomAlgoAPI.h>
16 #include <GeomAPI_Shape.h>
17
18 class GEOMALGOAPI_EXPORT GeomAlgoAPI_ShapeProps
19 {
20 public:
21   /// Returns the total volume of the solids of the current shape
22   static double volume(std::shared_ptr<GeomAPI_Shape> theShape);
23 };
24
25 #endif
26