1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0031190: Modeling Algorithms - progress indication in GeomPlate is inconsistent

Added ability to display progress indicator in plate commands
Added tests
This commit is contained in:
akaftasev
2021-03-29 19:15:54 +03:00
committed by bugmaster
parent 51c21d1fe4
commit 00e9052bee
9 changed files with 162 additions and 11 deletions

View File

@@ -345,7 +345,7 @@ void Plate_Plate::SolveTI1(const Standard_Integer IterationNumber,
Standard_Real pivot_max = 1.e-12;
OK = Standard_True;
Message_ProgressScope aScope (theProgress, NULL, 10);
Message_ProgressScope aScope (theProgress, "Plate_Plate::SolveTI1()", 10);
math_Gauss algo_gauss(mat,pivot_max, aScope.Next (7));
if (aScope.UserBreak())
@@ -459,7 +459,7 @@ void Plate_Plate::SolveTI2(const Standard_Integer IterationNumber,
Standard_Real pivot_max = 1.e-12;
OK = Standard_True; // ************ JHH
Message_ProgressScope aScope (theProgress, NULL, 10);
Message_ProgressScope aScope (theProgress, "Plate_Plate::SolveTI2()", 10);
math_Gauss algo_gauss(mat,pivot_max, aScope.Next (7));
if (aScope.UserBreak())
@@ -733,7 +733,7 @@ void Plate_Plate::SolveTI3(const Standard_Integer IterationNumber,
Standard_Real pivot_max = 1.e-12;
OK = Standard_True; // ************ JHH
Message_ProgressScope aScope (theProgress, NULL, 10);
Message_ProgressScope aScope (theProgress, "Plate_Plate::SolveTI3()", 10);
math_Gauss algo_gauss(mat,pivot_max, aScope.Next (7));
if (aScope.UserBreak())