puts "============"
puts "OCC24208"
puts "============"
puts ""
#######################################################################
# Optimization of the edge-edge intersection algorithms
#######################################################################

restore [locate_data_file bug24673_HYDRO_occt_case_6_after.brep] b

set objs [explode b]
set nbObjs [llength ${objs}]

bclearobjects
bcleartools

for {set i 0} {$i < $nbObjs} {incr i} {
  baddobjects [lindex ${objs} ${i}]
}

bfillds
bbuild result

set square 159918

# Analysis of "nbshapes result"
set nb_v_good 38
set nb_e_good 74
set nb_w_good 20
set nb_f_good 20
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 153

set 2dviewer 1