Salome HOME
Improve ExchangePlugin code coverage
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shell.h
index 91b6a313bac5677850270e87b8e93bf2b1d7a5e0..d92f6900033760e8ff5db08aab5a0e44226ac60d 100644 (file)
@@ -59,6 +59,9 @@ public:
 
   /// Returns box if the shell consists of 6 rectangular faces composing a box
   GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Box> getParallelepiped() const;
+
+  /// Return middle point on the shell
+  GEOMAPI_EXPORT virtual std::shared_ptr<GeomAPI_Pnt> middlePoint() const;
 };
 
 typedef std::shared_ptr<GeomAPI_Shell> GeomShellPtr;