]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
rnc : corrected the bug that the starting point is false when using reverse parameter
authorgdd <gdd>
Wed, 16 Feb 2011 15:10:28 +0000 (15:10 +0000)
committergdd <gdd>
Wed, 16 Feb 2011 15:10:28 +0000 (15:10 +0000)
src/GEOMImpl/GEOMImpl_PointDriver.cxx

index 8aed2e4be51ad0d0d8e20ce24d492179966719b2..4d08102d7b1678d74d01066c3f015c9c31f4e26b 100644 (file)
@@ -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);