1 puts "================"
3 puts "================"
5 #######################################################################
6 # Wrong result obtained by projection algorithm.
7 #######################################################################
11 restore [locate_data_file bug25861_f3.brep] f3
13 point p 6.9184976310066668 -24.127668568051799 8.6427835999999978
15 set info [xprojponf p f3]
17 if { [regexp {point px +([-0-9.+eE]+) +([-0-9.+eE]+) +([-0-9.+eE]+)} ${info} string x2 y2 z2] != 1 } {
18 puts "Error: Wrong result obtained by projection algorithm"
20 puts "OK: Good result obtained by projection algorithm"
23 vertex v2 ${x2} ${y2} ${z2}
27 set distmin [dval res_val]
28 if { [expr abs(${distmin})] > ${CMP_TOL} } {
29 puts "Error: Wrong projection point"
31 puts "OK: Good projection point"