1
0
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:
nbv
2014-09-26 15:32:46 +04:00
committed by abv
parent 63c629aa3a
commit 9e20ed5793
80 changed files with 259 additions and 312 deletions

View File

@@ -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++;