mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023547: Tests failures in debug mode
1. DRAW-commands for curve/surface continuity returning were changed. 2. Output of "distmini" DRAW-command is amended. 3. Function MinMax() was moved from Standard_Real to IntPatch_ImpImpIntersection_4.gxx. 4. Incorrect computing of nbcurveC1 in Geom2dConvert::C0BSplineToC1BSplineCurve(...) function was liquidated. Test cases were changed.
This commit is contained in:
@@ -1454,7 +1454,7 @@ void Geom2dConvert::C0BSplineToC1BSplineCurve(Handle(Geom2d_BSplineCurve)& BS,
|
||||
|
||||
BS->Knots(BSKnots);
|
||||
BS->Multiplicities(BSMults);
|
||||
for (i=BS->FirstUKnotIndex();i<=(BS->LastUKnotIndex()-1);i++){
|
||||
for (i=BS->FirstUKnotIndex() + 1;i<=(BS->LastUKnotIndex()-1);i++){
|
||||
if (BSMults(i)==BS->Degree())
|
||||
nbcurveC1++;
|
||||
}
|
||||
@@ -1472,7 +1472,8 @@ void Geom2dConvert::C0BSplineToC1BSplineCurve(Handle(Geom2d_BSplineCurve)& BS,
|
||||
for (i=0;i<nbcurveC1;i++){
|
||||
U1=U2;
|
||||
|
||||
while (j < BS->LastUKnotIndex() && BSMults(j) < BS->Degree()) j++;
|
||||
while (j < BS->LastUKnotIndex() && BSMults(j) < BS->Degree())
|
||||
j++;
|
||||
|
||||
U2=BSKnots(j);
|
||||
j++;
|
||||
|
Reference in New Issue
Block a user