Salome HOME
High level objects history implementation for LinearCopy and AngularCopy features.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Solid.h
index a81828c8efdb3dc05893b55f178c77400d782c7b..12519db242eddba875fdb454aa904f9ccc91a685 100644 (file)
@@ -59,6 +59,9 @@ public:
 
   /// Returns box if the solid is bounded by 6 rectangular faces composing a box
   GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Box> getParallelepiped() const;
+
+  /// Return inner point in the solid
+  GEOMAPI_EXPORT virtual std::shared_ptr<GeomAPI_Pnt> middlePoint() const;
 };
 
 typedef std::shared_ptr<GeomAPI_Solid> GeomSolidPtr;