X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Shell.h;h=ae6c6460667000f8e889051de8a628bcf0b71996;hb=a211165b993cec59888b300199b44b525c0daf69;hp=91b6a313bac5677850270e87b8e93bf2b1d7a5e0;hpb=1e2eaa713f139d2617c80eba9ede62d4e9976bb7;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Shell.h b/src/GeomAPI/GeomAPI_Shell.h index 91b6a313b..ae6c64606 100644 --- a/src/GeomAPI/GeomAPI_Shell.h +++ b/src/GeomAPI/GeomAPI_Shell.h @@ -1,4 +1,4 @@ -// Copyright (C) 2018-20xx CEA/DEN, EDF R&D +// Copyright (C) 2018-2019 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef GeomAPI_Shell_H_ @@ -59,6 +58,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;