0026342: No materials are read from STEP
[occt.git] / tests / bugs / modalg_5 / bug23706_61
CommitLineData
32ca7a51 1puts "========"
2puts "OCC23706"
3puts "========"
4puts ""
5####################################
6## Cannot project point on curve
7####################################
8
9set x 11.0
10set y -2.0
11set z -2.0
12set pp_ch1 1.2585426580915264
13set pp_ch2 2.3417423737691694
14set pp_ch3 3.5000000000000004
15set pp_ch4 5.7802354437163306
16set pp_ch5 6.761077490013081
17
18restore [locate_data_file bug23706_c14.draw] c
19set info [proj c $x $y $z]
20
21regexp {parameter 1 += +([-0-9.+eE]+)} $info full pp1
22regexp {parameter 2 += +([-0-9.+eE]+)} $info full pp2
23regexp {parameter 3 += +([-0-9.+eE]+)} $info full pp3
24regexp {parameter 4 += +([-0-9.+eE]+)} $info full pp4
25regexp {parameter 5 += +([-0-9.+eE]+)} $info full pp5
26if { $pp1 != $pp_ch1 || $pp2 != $pp_ch2 || $pp3 != $pp_ch3 || $pp4 != $pp_ch4 || $pp5 != $pp_ch5} {
27 puts "Error : Projection is not correct"
28} else {
29 puts "OK: Projection is correct"
30}