1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_5/bug24620
pkv 6f31882ada 0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the source shape
void BOPAlgo_CheckerSI::PrepareCopy()
has been added.
Purpose:
   - provides the copy of the argument
   - provides links between the copy and the original
- protected method:
void BOPAlgo_CheckerSI::PostTreatCopy()
has been added.
Purpose: provides post treat actions wit the copy.

void BOPAlgo_PaveFiller::Perform()
The try/catch mechanism is used inside the method

Standard_Integer bopcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

Standard_Integer bopargcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

packages:
BOPAlgo
BOPTest

Test cases for issue CR24620
Small correction of text case for issue CR24620
2014-02-20 17:10:47 +04:00

32 lines
627 B
Plaintext
Executable File

puts "============"
puts "OCC24620"
puts "============"
puts ""
#######################################################################
# BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the source shape
#######################################################################
vertex v1 0 0 0
vertex v2 10 0 0
vertex v3 4 -5 0
vertex v4 4 5 0
edge e1 v1 v2
edge e2 v3 v4
compound e1 e2 b1
bopcheck b1
compound x0 x1 b1 result
set nb_v_good 4
set nb_e_good 2
set nb_w_good 0
set nb_f_good 0
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 2
set nb_shape_good 8
set 2dviewer 1