X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Edge.h;h=fdf82ed6fb57954343676c3969fa3805791f44a1;hb=c57d2a7f1a57af01656e47e2e510990492404fce;hp=9d3a4f47b9ae1fe26df16c724cd795a5386c2d27;hpb=ed92e0bb25bbe82b732828655a66be5d7ec80b1b;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Edge.h b/src/GeomAPI/GeomAPI_Edge.h index 9d3a4f47b..fdf82ed6f 100644 --- a/src/GeomAPI/GeomAPI_Edge.h +++ b/src/GeomAPI/GeomAPI_Edge.h @@ -27,6 +27,7 @@ class GeomAPI_Pnt; class GeomAPI_Circ; class GeomAPI_Lin; class GeomAPI_Ellipse; +class GeomAPI_Vertex; /**\class GeomAPI_Edge * \ingroup DataModel @@ -44,6 +45,11 @@ public: GEOMAPI_EXPORT GeomAPI_Edge(const std::shared_ptr& theShape); + /// Return vertices of the edge; + GEOMAPI_EXPORT + void vertices(std::shared_ptr& theStartVertex, + std::shared_ptr& theEndVertex) const; + /// Returns \c true if edges have same underlying curve GEOMAPI_EXPORT virtual bool isSameGeometry(const std::shared_ptr theShape) const;