1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0022989: BSplCLib::Reparametrize() fails on near knots

This commit is contained in:
abv 2012-03-15 08:50:00 +04:00 committed by bugmaster
parent 9530af2780
commit d0ad288a66

View File

@ -674,7 +674,7 @@ void BSplCLib::Reparametrize
//for CheckCurveData
Standard_Real Eps = Epsilon( Abs(Knots(i-1)) );
if (Knots(i) - Knots(i-1) <= Eps)
Knots(i) += 1.1*Eps;
Knots(i) = NextAfter (Knots(i-1) + Eps, RealLast());
K1 = K2;
}