X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Face.h;h=57ffd66a963977bb1e21468440d597208d44828c;hb=95ff1008bc8215fdeafd7d253dc5a6f33e949363;hp=3e654e91622fd183f0f36268b0e58dd5ff5f0de5;hpb=1e2eaa713f139d2617c80eba9ede62d4e9976bb7;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Face.h b/src/GeomAPI/GeomAPI_Face.h index 3e654e916..57ffd66a9 100644 --- a/src/GeomAPI/GeomAPI_Face.h +++ b/src/GeomAPI/GeomAPI_Face.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 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_Face_H_ @@ -48,6 +47,10 @@ public: GEOMAPI_EXPORT virtual bool isEqual(const std::shared_ptr theFace) const; + /// Returns \c true if faces have same underlying surface + GEOMAPI_EXPORT + virtual bool isSameGeometry(const std::shared_ptr theShape) const; + /// Returns true if the face is a cylindrical face GEOMAPI_EXPORT bool isCylindrical() const; @@ -67,6 +70,9 @@ public: /// Returns torus if the face is based on the toroidal surface GEOMAPI_EXPORT std::shared_ptr getTorus() const; + + /// Return inner point in the face + GEOMAPI_EXPORT virtual std::shared_ptr middlePoint() const; }; //! Pointer on attribute object