mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +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
debc95ee5a
commit
7321e9fb9a
@ -379,7 +379,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) {
|
||||||
@ -424,6 +426,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