32ca7a51 |
1 | puts "========" |
2 | puts "OCC23706" |
3 | puts "========" |
4 | puts "" |
5 | #################################### |
6 | ## Cannot project point on curve |
7 | #################################### |
8 | |
9 | set x 3.0 |
10 | set y 6.0 |
11 | set z -3.0 |
12 | set pp_ch1 1 |
13 | set pp_ch2 1 |
14 | |
15 | restore [locate_data_file bug23706_c03.draw] c |
16 | set info [proj c $x $y $z] |
17 | |
18 | regexp {parameter 1 += +([-0-9.+eE]+)} $info full pp1 |
19 | regexp {parameter 2 += +([-0-9.+eE]+)} $info full pp2 |
20 | if { $pp1 != $pp_ch1 || $pp2 != $pp_ch2 } { |
21 | puts "Error : Projection is not correct" |
22 | } else { |
23 | puts "OK: Projection is correct" |
24 | } |