0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_5 / bug23706_44
1 puts "========"
2 puts "OCC23706"
3 puts "========"
4 puts ""
5 ####################################
6 ## Cannot project point on curve
7 ####################################
8
9 set x -4.0
10 set y 4.0
11 set z 1.0
12 set pp_ch1 0.034819847916144751
13
14 restore [locate_data_file bug23706_c07.draw] c
15 set info [proj c $x $y $z]
16
17 regexp {parameter 1 += +([-0-9.+eE]+)} $info full pp1
18 if { $pp1 != $pp_ch1 } {
19    puts "Error : Projection is not correct"
20 } else {
21    puts "OK: Projection is correct"
22 }