1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0024933: Inconsistent results of self-interferences checker in SALOME and DRAW Applications.

class BOPAlgo_CheckerSI
   - methods:
void BOPAlgo_CheckerSI::Perform()

class BOPAlgo_ArgumentAnalyzer
   - methods:
void BOPAlgo_ArgumentAnalyzer::TestSelfInterferences()

The changes have been done to provide the consistence
between results in SALOME Application and DRAW Application

The sytax of the command "bopcheck" has been changed:
bopcheck Shape [level of check: 0 - 9] [-t -s]
The options:
 -t - display elapsed CPU time
 -s - run in serial (non-parallel) mode. The default mode is parallel.

Modified test cases bugs/modalg_5/bug24029 and bugs/modalg_5/bug24764 according to changed output format of the "bopcheck" command.
This commit is contained in:
pkv
2014-05-22 17:24:17 +04:00
committed by apn
parent 6268cc68d7
commit 63def8e679
8 changed files with 387 additions and 440 deletions

View File

@@ -126,6 +126,8 @@ void BOPAlgo_CheckerSI::Init()
void BOPAlgo_CheckerSI::Perform()
{
try {
Standard_Integer iErr;
//
OCC_CATCH_SIGNALS
//
myErrorStatus=0;
@@ -142,37 +144,43 @@ void BOPAlgo_CheckerSI::Perform()
}
//
BOPAlgo_PaveFiller::Perform();
iErr=myErrorStatus;
//
if (!myErrorStatus) {
PerformVZ();
PerformVZ();
if (myErrorStatus) {
iErr=myErrorStatus;
}
//
if (!myErrorStatus) {
PerformEZ();
}
//
if (!myErrorStatus) {
PerformFZ();
PerformEZ();
if (myErrorStatus) {
iErr=myErrorStatus;
}
//
if (!myErrorStatus) {
PerformZZ();
PerformFZ();
if (myErrorStatus) {
iErr=myErrorStatus;
}
//
PerformZZ();
if (myErrorStatus) {
iErr=myErrorStatus;
}
//
if (!myErrorStatus) {
PostTreat();
PostTreat();
if (myErrorStatus) {
iErr=myErrorStatus;
}
//
if (myNonDestructive) {
Standard_Integer iErr;
//
iErr=myErrorStatus;
//
PostTreatCopy();
if (!myErrorStatus) {
myErrorStatus=iErr;
if (myErrorStatus) {
iErr=myErrorStatus;
}
}
//
if (iErr) {
myErrorStatus=iErr;
}
}
//
catch (Standard_Failure) {
@@ -183,7 +191,6 @@ void BOPAlgo_CheckerSI::Perform()
myErrorStatus=11;
}
}
//=======================================================================
//function : PostTreat
//purpose :