mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024327: Wrong result obtained by Exterma Curve/Curve
Increased number of nodes in Extrema_CurveCache::Extrema_CurveCache. Test case for issue CR24327
This commit is contained in:
@@ -57,9 +57,9 @@ Extrema_CurveCache::Extrema_CurveCache(const Curve& theC,
|
||||
myTrimFirst = myFirst = theUFirst;
|
||||
myTrimLast = myLast = theULast;
|
||||
|
||||
Standard_Integer Nbp = 2;
|
||||
Standard_Integer Nbp = 3;
|
||||
if (2 * Coeff < 10000.0)
|
||||
Nbp = (Standard_Integer) (2 * Coeff);
|
||||
Nbp = Max((Standard_Integer) (2 * Coeff), Nbp);
|
||||
myNbSamples = (EndIndex - StartIndex)*Nbp + 1;
|
||||
|
||||
const Standard_Integer aNbSTresh = 10000;
|
||||
|
Reference in New Issue
Block a user