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:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user