1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0024827: Incorrect result of projection of an edge on a face

Test cases for issue CR24827
This commit is contained in:
mkv 2014-04-22 16:19:26 +04:00 committed by abv
parent 857ffd5e57
commit 790a8bbcbf
2 changed files with 48 additions and 0 deletions

24
tests/nproject/base/bug24827_1 Executable file
View File

@ -0,0 +1,24 @@
puts "============"
puts "OCC24827"
puts "============"
puts ""
###############################
## Incorrect result of projection of an edge on a face
###############################
restore [locate_data_file bug24827_Comp.brep] c
explode c
nproject result c_2 c_1 1.e-7
set nb_v_good 2
set nb_e_good 1
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 1
set nb_shape_good 4
set length 0.0008

24
tests/nproject/base/bug24827_2 Executable file
View File

@ -0,0 +1,24 @@
puts "============"
puts "OCC24827"
puts "============"
puts ""
###############################
## Incorrect result of projection of an edge on a face
###############################
restore [locate_data_file bug24827_Comp.brep] c
explode c
nproject result c_3 c_1 1.e-7
set nb_v_good 2
set nb_e_good 1
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 1
set nb_shape_good 4
set length 0.0008