0026351: Wrong result found by the projection algorithm
[occt.git] / tests / bugs / modalg_5 / bug23706_40
CommitLineData
32ca7a51 1puts "========"
2puts "OCC23706"
3puts "========"
4puts ""
5####################################
6## Cannot project point on curve
7####################################
8
9set x -3.0
10set y 15.0
11set z -9.0
c8bf1eb7 12set pp_ch 0.31967360381308063
32ca7a51 13
14restore [locate_data_file bug23706_c07.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}