mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-13 06:37:18 +08:00
0022989: BSplCLib::Reparametrize() fails on near knots
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user