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

restore [locate_data_file bug24673_HYDRO_occt_case_3_before.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 182532

# Analysis of "nbshapes result"
set nb_v_good 46
set nb_e_good 86
set nb_w_good 30
set nb_f_good 26
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 189

set 2dviewer 1