mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024190: Exception raised during topological operation.
v0.0 I. New features: no new features II. Changes: II.1. class BOPAlgo_CheckerSI - method: void BOPAlgo_CheckerSI::Perform() The contents of the method is encompassed with "try/catch" block. III. Modified entities: packages: BOPAlgo Test cases for issue CR24190
This commit is contained in:
parent
c884a2681d
commit
b62b3e079f
@ -21,6 +21,9 @@
|
|||||||
//
|
//
|
||||||
#include <BOPAlgo_CheckerSI.ixx>
|
#include <BOPAlgo_CheckerSI.ixx>
|
||||||
|
|
||||||
|
#include <Standard_ErrorHandler.hxx>
|
||||||
|
#include <Standard_Failure.hxx>
|
||||||
|
|
||||||
#include <BOPDS_DS.hxx>
|
#include <BOPDS_DS.hxx>
|
||||||
#include <BOPDS_IteratorSI.hxx>
|
#include <BOPDS_IteratorSI.hxx>
|
||||||
#include <BOPDS_PIteratorSI.hxx>
|
#include <BOPDS_PIteratorSI.hxx>
|
||||||
@ -104,12 +107,28 @@ void BOPAlgo_CheckerSI::Init()
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void BOPAlgo_CheckerSI::Perform()
|
void BOPAlgo_CheckerSI::Perform()
|
||||||
{
|
{
|
||||||
|
//modified by NIZNHY-PKV Thu Sep 19 08:14:52 2013f
|
||||||
|
try {
|
||||||
|
OCC_CATCH_SIGNALS
|
||||||
|
//
|
||||||
|
BOPAlgo_PaveFiller::Perform();
|
||||||
|
if (myErrorStatus) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
//
|
||||||
|
PostTreat();
|
||||||
|
}
|
||||||
|
catch (Standard_Failure) {
|
||||||
|
}
|
||||||
|
/*
|
||||||
BOPAlgo_PaveFiller::Perform();
|
BOPAlgo_PaveFiller::Perform();
|
||||||
if (myErrorStatus) {
|
if (myErrorStatus) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
PostTreat();
|
PostTreat();
|
||||||
|
*/
|
||||||
|
//modified by NIZNHY-PKV Thu Sep 19 08:14:56 2013t
|
||||||
}
|
}
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : PostTreat
|
//function : PostTreat
|
||||||
|
11
tests/bugs/modalg_5/bug24190
Executable file
11
tests/bugs/modalg_5/bug24190
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
puts "================"
|
||||||
|
puts "OCC24190"
|
||||||
|
puts "================"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# Exception raised during topological operation.
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug24190_itz.brep] b
|
||||||
|
|
||||||
|
bopcheck b
|
Loading…
x
Reference in New Issue
Block a user