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