1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +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

@@ -30,6 +30,21 @@ static
const gp_Cylinder& Cy2,
const Standard_Real Tol);
// ------------------------------------------------------------------
// MinMax : Replaces theParMIN = MIN(theParMIN, theParMAX),
// theParMAX = MAX(theParMIN, theParMAX).
// ------------------------------------------------------------------
static inline void MinMax(Standard_Real& theParMIN, Standard_Real& theParMAX)
{
if(theParMIN > theParMAX)
{
const Standard_Real aux = theParMAX;
theParMAX = theParMIN;
theParMIN = aux;
}
}
//=======================================================================
//function : ProcessBounds
//purpose :