1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-26 10:19:45 +03:00
occt/tests/bugs/modalg_1/bug16517_1
nbv 7c32c7c41f 0025531: Difference in intersection result on Windows and Linux platform is very significant
1. Dump of WLine is shown with more precise.
2. Equation solving with more precise.
3. Dump of Multy-line.
4. Code optimization.

Some test cases were updated in accordance with their new behaviour.

Correction of test cases for issue CR25531
2014-12-25 18:06:15 +03:00

48 lines
987 B
Plaintext
Executable File

puts "============"
puts "OCC16517"
puts "============"
puts ""
#######################################################################
# Cylindrical projection is wrong
#######################################################################
set BugNumber OCC16517
restore [locate_data_file OCC16517_c.brep] c
restore [locate_data_file OCC16517_s.brep] s
set Result_List [prj p c s 0 0 1]
set Result_Numbers [llength ${Result_List}]
set mistake 0
if { ${Result_Numbers} != 2 } {
puts "Faulty ${BugNumber} : projection numbers are wrong"
set mistake 1
} else {
puts "First projection ..."
renamevar p_1 result
set status 0
set length 110.167
set nb_v_good 1
set nb_e_good 1
set nb_w_good 1
set nb_f_good 0
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 3
}
if { ${mistake} != 0 } {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}
vinit
vdisplay c s result p_2
vfit
set only_screen 1