1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024398: Output of extrema draw-command has various format on optimise and debug modes

Fixed creation of extrema curve in debug mode.
Deleted space between ";" and "V" in debug output to make "llength" DRAW funcion work correctly in debug mode.
Deleted TODOs in tests/bugs/modalg_5/bug24327
Deleted TODOs in test cases with improvement in extrema output. Increased cpulimit in de, boolean and perf.
This commit is contained in:
aml
2013-11-28 11:25:41 +04:00
committed by bugmaster
parent 5cc18856ae
commit 32b6a53fd8
10 changed files with 7 additions and 19 deletions

View File

@@ -395,14 +395,14 @@ static Standard_Integer extrema(Draw_Interpretor& di, Standard_Integer n, const
Handle(Geom_Line) L = new Geom_Line(P1,gp_Vec(P1,P2));
Handle(Geom_TrimmedCurve) CT =
new Geom_TrimmedCurve(L, 0., P1.Distance(P2));
#ifdef DEB
Sprintf(name,"%s%d (U=%f; V=%f)","ext_",i,U1,V1);
#else
Sprintf(name,"%s%d","ext_",i);
#endif
char* temp = name; // portage WNT
DrawTrSurf::Set(temp, CT);
#ifdef DEB
di << name << "(U=" << U1 << ";V=" << V1 << ")" << "\n";
#else
di << name << " ";
#endif
}
}
}