From b664a705b867e8c9574ed942a410b3f294e62869 Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 16 Feb 2011 15:10:28 +0000 Subject: [PATCH] rnc : corrected the bug that the starting point is false when using reverse parameter --- src/GEOMImpl/GEOMImpl_PointDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2