0024326: Get rid of confusing extension line
[occt.git] / tests / bugs / modalg_5 / bug23706_28
1 puts "========"
2 puts "OCC23706"
3 puts "========"
4 puts ""
5 ####################################
6 ## Cannot project point on curve
7 ####################################
8
9 set x 5.0
10 set y 8.0
11 set z -2.0
12 set pp_ch1 1
13 set pp_ch2 1
14 set pp_ch3 1.1865241781930462
15
16 restore [locate_data_file bug23706_c03.draw] c
17 set info [proj c $x $y $z]
18
19 regexp {parameter 1 += +([-0-9.+eE]+)} $info full pp1
20 regexp {parameter 2 += +([-0-9.+eE]+)} $info full pp2
21 regexp {parameter 3 += +([-0-9.+eE]+)} $info full pp3
22 if { $pp1 != $pp_ch1 || $pp2 != $pp_ch2 || $pp3 != $pp_ch3 } {
23    puts "Error : Projection is not correct"
24 } else {
25    puts "OK: Projection is correct"
26 }