From: gdd Date: Wed, 16 Feb 2011 15:10:28 +0000 (+0000) Subject: rnc : corrected the bug that the starting point is false when using reverse parameter X-Git-Tag: Start_BR_19998_21191~65 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b664a705b867e8c9574ed942a410b3f294e62869;p=modules%2Fgeom.git rnc : corrected the bug that the starting point is false when using reverse parameter --- diff --git a/src/GEOMImpl/GEOMImpl_PointDriver.cxx b/src/GEOMImpl/GEOMImpl_PointDriver.cxx index 8aed2e4be..4d08102d7 100644 --- a/src/GEOMImpl/GEOMImpl_PointDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PointDriver.cxx @@ -173,7 +173,7 @@ Standard_Integer GEOMImpl_PointDriver::Execute(TFunction_Logbook& log) const Handle(Geom_Curve) ReOrientedCurve = EdgeCurve; if ( theReversed ) { ReOrientedCurve = EdgeCurve -> Reversed(); - UFirst=ULast; + UFirst = EdgeCurve -> ReversedParameter(ULast); } GeomAdaptor_Curve AdapCurve = GeomAdaptor_Curve(ReOrientedCurve); GCPnts_AbscissaPoint anAbsPnt(AdapCurve, theLength, UFirst);