Salome HOME
Fix compilation on Linux
[modules/shaper.git] / src / GeomAPI / GeomAPI_PlanarEdges.h
index 9ba13cd1a0be499dfa5d8f9621ff9c61a0b37002..15fb093f01b4dd26682fc26e91919ebc23208796 100644 (file)
@@ -54,6 +54,9 @@ class GeomAPI_PlanarEdges : public GeomAPI_Shape
   /// Returns Z direction vector
   GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Dir> 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
@@ -62,6 +65,10 @@ class GeomAPI_PlanarEdges : public GeomAPI_Shape
                                const std::shared_ptr<GeomAPI_Dir>& theDirX,
                                const std::shared_ptr<GeomAPI_Dir>& theNorm);
 
+  /// Returns whether the shapes are equal
+  GEOMAPI_EXPORT 
+  virtual bool isEqual(const std::shared_ptr<GeomAPI_Shape> theShape) const;
+
 private:
 
   std::shared_ptr<GeomAPI_Ax3> myPlane;