1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_ShapeProps.h
5 // Author: Dmitry Bobylev
7 #ifndef GeomAlgoAPI_ShapeProps_H_
8 #define GeomAlgoAPI_ShapeProps_H_
10 /**\class GeomAlgoAPI_ShapeProps
12 * \brief Allows to compute different shape props
15 #include <GeomAlgoAPI.h>
16 #include <GeomAPI_Shape.h>
18 class GEOMALGOAPI_EXPORT GeomAlgoAPI_ShapeProps
21 /// Returns the total volume of the solids of the current shape
22 static double volume(std::shared_ptr<GeomAPI_Shape> theShape);