X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAPI%2FGeomAPI_Shell.h;h=d92f6900033760e8ff5db08aab5a0e44226ac60d;hb=f2b9108d0d8d181dbfae9fedd207666ee64379e6;hp=91b6a313bac5677850270e87b8e93bf2b1d7a5e0;hpb=5ff96b13035a4e95572580dbc6aa6f2c526d0a45;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Shell.h b/src/GeomAPI/GeomAPI_Shell.h index 91b6a313b..d92f69000 100644 --- a/src/GeomAPI/GeomAPI_Shell.h +++ b/src/GeomAPI/GeomAPI_Shell.h @@ -59,6 +59,9 @@ public: /// Returns box if the shell consists of 6 rectangular faces composing a box GEOMAPI_EXPORT std::shared_ptr getParallelepiped() const; + + /// Return middle point on the shell + GEOMAPI_EXPORT virtual std::shared_ptr middlePoint() const; }; typedef std::shared_ptr GeomShellPtr;