Salome HOME
Fix compilation on Linux
[modules/shaper.git] / src / GeomAPI / GeomAPI_PlanarEdges.h
index 1eddd16c899ca9bb59c39d39eb34a33eafe47820..15fb093f01b4dd26682fc26e91919ebc23208796 100644 (file)
@@ -54,16 +54,21 @@ 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
-  /// \param theDirY Y direction of the plane axis
   /// \param theNorm normal direction of the plane axis
   GEOMAPI_EXPORT void setPlane(const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
                                const std::shared_ptr<GeomAPI_Dir>& theDirX,
-                               const std::shared_ptr<GeomAPI_Dir>& theDirY,
                                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;