Salome HOME
A fix to remove the selection filter by abort the sketch operation.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Edge.h
index 6814bb68777cce3c2f8000735a97b3989d45933d..53552262983695efa0144176558bc02e86ceb647 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_Edge.hxx
 // Created:     24 Jul 2014
 // Author:      Artem ZHIDKOV
@@ -22,7 +24,7 @@ public:
    GeomAPI_Edge();
 
    /// Creation of edge by the edge-shape
-   GeomAPI_Edge(const boost::shared_ptr<GeomAPI_Shape>& theShape);
+   GeomAPI_Edge(const std::shared_ptr<GeomAPI_Shape>& theShape);
 
   /// Verifies that the edge is a line
   bool isLine() const;
@@ -34,13 +36,16 @@ public:
   bool isArc() const;
 
   /// Returns the first vertex coordinates of the edge 
-  boost::shared_ptr<GeomAPI_Pnt> firstPoint();
+  std::shared_ptr<GeomAPI_Pnt> firstPoint();
 
   /// Returns the Last vertex coordinates of the edge 
-  boost::shared_ptr<GeomAPI_Pnt> lastPoint();
+  std::shared_ptr<GeomAPI_Pnt> lastPoint();
 
   /// Returns a circle if edge is based on the cirsle curve
-  boost::shared_ptr<GeomAPI_Circ> circle();
+  std::shared_ptr<GeomAPI_Circ> circle();
+
+  /// Returns true if the current edge is geometrically equal to the given edge
+  bool isEqual(std::shared_ptr<GeomAPI_Shape> theEdge);
 };
 
 #endif