mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0026483: Option Run Parallel is not used by the command bopargcheck
I. New features: No new features II. Changes: II.1 class BOPTest -static function: Standard_Integer bopargcheck (Draw_Interpretor& di, Standard_Integer n, const char** a ) The option has been retrieved and passed to the checker algorithm. III. Modified entities: packages: BOPTest
This commit is contained in:
parent
c19a07bc44
commit
1ecda52ad7
@ -388,7 +388,9 @@ Standard_Integer bopargcheck (Draw_Interpretor& di,
|
|||||||
Standard_Boolean isS2 = Standard_False;
|
Standard_Boolean isS2 = Standard_False;
|
||||||
Standard_Integer indxS2 = 0;
|
Standard_Integer indxS2 = 0;
|
||||||
Standard_Real aTolerance = 0;
|
Standard_Real aTolerance = 0;
|
||||||
|
Standard_Boolean bRunParallel;
|
||||||
|
//
|
||||||
|
bRunParallel=BOPTest_Objects::RunParallel();
|
||||||
aTolerance=BOPTest_Objects::FuzzyValue();
|
aTolerance=BOPTest_Objects::FuzzyValue();
|
||||||
|
|
||||||
if(n >= 3) {
|
if(n >= 3) {
|
||||||
@ -433,6 +435,7 @@ Standard_Integer bopargcheck (Draw_Interpretor& di,
|
|||||||
|
|
||||||
// init checker
|
// init checker
|
||||||
BOPAlgo_ArgumentAnalyzer aChecker;
|
BOPAlgo_ArgumentAnalyzer aChecker;
|
||||||
|
aChecker.SetRunParallel(bRunParallel);
|
||||||
aChecker.SetFuzzyValue(aTolerance);
|
aChecker.SetFuzzyValue(aTolerance);
|
||||||
aChecker.SetShape1(aS1);
|
aChecker.SetShape1(aS1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user