X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Edge.h;h=53552262983695efa0144176558bc02e86ceb647;hb=0448acdd8e8c1e1638a2cf861e42e915966b2034;hp=6814bb68777cce3c2f8000735a97b3989d45933d;hpb=fa107dfb3ba274eaeb191c5ec4f6c96517b55a02;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Edge.h b/src/GeomAPI/GeomAPI_Edge.h index 6814bb687..535522629 100644 --- a/src/GeomAPI/GeomAPI_Edge.h +++ b/src/GeomAPI/GeomAPI_Edge.h @@ -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& theShape); + GeomAPI_Edge(const std::shared_ptr& 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 firstPoint(); + std::shared_ptr firstPoint(); /// Returns the Last vertex coordinates of the edge - boost::shared_ptr lastPoint(); + std::shared_ptr lastPoint(); /// Returns a circle if edge is based on the cirsle curve - boost::shared_ptr circle(); + std::shared_ptr circle(); + + /// Returns true if the current edge is geometrically equal to the given edge + bool isEqual(std::shared_ptr theEdge); }; #endif