X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_PlanarEdges.h;h=b32559adc5f9ab8f2122fb0b821b5a1ebf23ae24;hb=857f94a96eb62e69746221f2b919335140b117c6;hp=c26ad2505e180e386ff739d3852b85012581ab52;hpb=b5f5aaabb45923b4964fcf6bdae979fae9d1bfb9;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_PlanarEdges.h b/src/GeomAPI/GeomAPI_PlanarEdges.h index c26ad2505..b32559adc 100644 --- a/src/GeomAPI/GeomAPI_PlanarEdges.h +++ b/src/GeomAPI/GeomAPI_PlanarEdges.h @@ -54,15 +54,21 @@ class GeomAPI_PlanarEdges : public GeomAPI_Shape /// Returns Z direction vector GEOMAPI_EXPORT std::shared_ptr norm() const; + /// Returns whether the shape is planar + GEOMAPI_EXPORT virtual bool isPlanar() const; + /// Set working plane /// \param theOrigin origin of the plane axis /// \param theDirX X direction of the plane axis - /// \param theDirY Y direction of the plane axis /// \param theNorm normal direction of the plane axis GEOMAPI_EXPORT void setPlane(const std::shared_ptr& theOrigin, const std::shared_ptr& theDirX, const std::shared_ptr& theNorm); + /// Returns whether the shapes are equal + GEOMAPI_EXPORT + virtual bool isEqual(const std::shared_ptr theShape) const; + private: std::shared_ptr myPlane;