X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Edge.h;h=1ecbde0fc6797b1c08beda0b7377ca23e34b6171;hb=223db274e2083c0289eb8d8043344ae421e524a8;hp=53552262983695efa0144176558bc02e86ceb647;hpb=38afbd899a8645c83e17f2c24a17a2b7414911b4;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Edge.h b/src/GeomAPI/GeomAPI_Edge.h index 535522629..1ecbde0fc 100644 --- a/src/GeomAPI/GeomAPI_Edge.h +++ b/src/GeomAPI/GeomAPI_Edge.h @@ -11,6 +11,7 @@ class GeomAPI_Pnt; class GeomAPI_Circ; +class GeomAPI_Lin; /**\class GeomAPI_Edge * \ingroup DataModel @@ -41,11 +42,14 @@ public: /// Returns the Last vertex coordinates of the edge std::shared_ptr lastPoint(); - /// Returns a circle if edge is based on the cirsle curve + /// Returns a circle if edge is based on the circle curve std::shared_ptr circle(); + /// Returns a line if edge is based on the linear curve + std::shared_ptr line(); + /// Returns true if the current edge is geometrically equal to the given edge - bool isEqual(std::shared_ptr theEdge); + bool isEqual(const std::shared_ptr theEdge) const; }; #endif