mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
0024673: Test cases for the new Edge/Edge intersection algorithm
New test cases for 0024673 Corrected names of shapes in test cases bugs/modalg_5/bug24208_1 - bug24208_14.
This commit is contained in:
parent
5064550f11
commit
f10da91dab
37
tests/bugs/modalg_5/bug24208_1
Normal file
37
tests/bugs/modalg_5/bug24208_1
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_1_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 157311
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 8
|
||||
set nb_e_good 14
|
||||
set nb_w_good 7
|
||||
set nb_f_good 7
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 37
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_10
Normal file
37
tests/bugs/modalg_5/bug24208_10
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_4_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 77849.3
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 54
|
||||
set nb_e_good 106
|
||||
set nb_w_good 31
|
||||
set nb_f_good 31
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 223
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_11
Normal file
37
tests/bugs/modalg_5/bug24208_11
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_5_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 82726.4
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 121
|
||||
set nb_e_good 191
|
||||
set nb_w_good 40
|
||||
set nb_f_good 40
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 393
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_12
Normal file
37
tests/bugs/modalg_5/bug24208_12
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_6_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 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
|
37
tests/bugs/modalg_5/bug24208_13
Normal file
37
tests/bugs/modalg_5/bug24208_13
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_7_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 279864
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 50
|
||||
set nb_e_good 94
|
||||
set nb_w_good 36
|
||||
set nb_f_good 32
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 213
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_14
Normal file
37
tests/bugs/modalg_5/bug24208_14
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_8_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 117639
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 16
|
||||
set nb_e_good 24
|
||||
set nb_w_good 10
|
||||
set nb_f_good 7
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 58
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_2
Normal file
37
tests/bugs/modalg_5/bug24208_2
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_3_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 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
|
37
tests/bugs/modalg_5/bug24208_3
Normal file
37
tests/bugs/modalg_5/bug24208_3
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_4_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 77849.3
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 54
|
||||
set nb_e_good 106
|
||||
set nb_w_good 31
|
||||
set nb_f_good 31
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 223
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_4
Normal file
37
tests/bugs/modalg_5/bug24208_4
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_5_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 82726.4
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 121
|
||||
set nb_e_good 191
|
||||
set nb_w_good 40
|
||||
set nb_f_good 40
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 393
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_5
Normal file
37
tests/bugs/modalg_5/bug24208_5
Normal file
@ -0,0 +1,37 @@
|
||||
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
|
37
tests/bugs/modalg_5/bug24208_6
Normal file
37
tests/bugs/modalg_5/bug24208_6
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_7_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 279864
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 50
|
||||
set nb_e_good 94
|
||||
set nb_w_good 36
|
||||
set nb_f_good 32
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 213
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_7
Normal file
37
tests/bugs/modalg_5/bug24208_7
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_8_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 117639
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 16
|
||||
set nb_e_good 24
|
||||
set nb_w_good 10
|
||||
set nb_f_good 7
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 58
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_8
Normal file
37
tests/bugs/modalg_5/bug24208_8
Normal file
@ -0,0 +1,37 @@
|
||||
puts "============"
|
||||
puts "OCC24208"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Optimization of the edge-edge intersection algorithms
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24673_HYDRO_occt_case_1_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 157311
|
||||
|
||||
# Analysis of "nbshapes result"
|
||||
set nb_v_good 8
|
||||
set nb_e_good 14
|
||||
set nb_w_good 7
|
||||
set nb_f_good 7
|
||||
set nb_sh_good 0
|
||||
set nb_sol_good 0
|
||||
set nb_compsol_good 0
|
||||
set nb_compound_good 1
|
||||
set nb_shape_good 37
|
||||
|
||||
set 2dviewer 1
|
37
tests/bugs/modalg_5/bug24208_9
Normal file
37
tests/bugs/modalg_5/bug24208_9
Normal file
@ -0,0 +1,37 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user