Salome HOME
Merge remote-tracking branch 'origin/cgt/devCEA'
[modules/shaper.git] / src / GeomAPI / GeomAPI_PlanarEdges.h
index c26ad2505e180e386ff739d3852b85012581ab52..b32559adc5f9ab8f2122fb0b821b5a1ebf23ae24 100644 (file)
@@ -54,15 +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>& 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;