mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-31 10:50:33 +05:00
rnc : corrected the bug that the starting point is false when using reverse parameter
This commit is contained in:
parent
d404209557
commit
b664a705b8
@ -173,7 +173,7 @@ Standard_Integer GEOMImpl_PointDriver::Execute(TFunction_Logbook& log) const
|
|||||||
Handle(Geom_Curve) ReOrientedCurve = EdgeCurve;
|
Handle(Geom_Curve) ReOrientedCurve = EdgeCurve;
|
||||||
if ( theReversed ) {
|
if ( theReversed ) {
|
||||||
ReOrientedCurve = EdgeCurve -> Reversed();
|
ReOrientedCurve = EdgeCurve -> Reversed();
|
||||||
UFirst=ULast;
|
UFirst = EdgeCurve -> ReversedParameter(ULast);
|
||||||
}
|
}
|
||||||
GeomAdaptor_Curve AdapCurve = GeomAdaptor_Curve(ReOrientedCurve);
|
GeomAdaptor_Curve AdapCurve = GeomAdaptor_Curve(ReOrientedCurve);
|
||||||
GCPnts_AbscissaPoint anAbsPnt(AdapCurve, theLength, UFirst);
|
GCPnts_AbscissaPoint anAbsPnt(AdapCurve, theLength, UFirst);
|
||||||
|
Loading…
Reference in New Issue
Block a user