X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Edge.cpp;h=2edd787d94d9333de94d9ede8eaa99081c756b36;hb=ced1c42d80f02b1efa749ecdf35e620dcca4d9cc;hp=b5736f4b618d70b52ad2e8c786c8db1ba4d20ff6;hpb=08872b5ca3cca57713f8fdba0e610f7f49cdb298;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Edge.cpp b/src/GeomAPI/GeomAPI_Edge.cpp index b5736f4b6..2edd787d9 100644 --- a/src/GeomAPI/GeomAPI_Edge.cpp +++ b/src/GeomAPI/GeomAPI_Edge.cpp @@ -166,3 +166,9 @@ bool GeomAPI_Edge::isEqual(const std::shared_ptr theEdge) const return true; } + +void GeomAPI_Edge::getRange(double& theFirst, double& theLast) const +{ + const TopoDS_Shape& aShape = const_cast(this)->impl(); + Handle(Geom_Curve) aCurve = BRep_Tool::Curve((const TopoDS_Edge&)aShape, theFirst, theLast); +}