0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / moddata_3 / bug27890
CommitLineData
ece3f950 1puts "============"
2puts "CR27890"
3puts "==========="
4puts ""
5###############################################################################
6# BndLib_Add2dCurve::Add(..) works incorrect on some curves
7###############################################################################
8
9restore [locate_data_file bug27890_t1.draw]
10
11set rr [gbounding bug27890_t1]
12
13regexp { *([-0-9.+eE]+) +([-0-9.+eE]+) +([-0-9.+eE]+) +([-0-9.+eE]+)} $rr full v1_x v1_y v2_x v2_y
14
15set tol_abs 1.0e-4
16set tol_rel 0.0001
17
18set expected_v1_x -34.660696189548446
19checkreal "v1_x" ${v1_x} ${expected_v1_x} ${tol_abs} ${tol_rel}
20
21set expected_v1_y -69.996521506152177
22checkreal "v1_y" ${v1_y} ${expected_v1_y} ${tol_abs} ${tol_rel}
23
24set expected_v2_x -15.536166915190313
25checkreal "v2_x" ${v2_x} ${expected_v2_x} ${tol_abs} ${tol_rel}
26
27set expected_v2_y -21.097502159535235
28checkreal "v2_y" ${v2_y} ${expected_v2_y} ${tol_abs} ${tol_rel}
29
30#v2d2
31view 1 -2D- 728 20 400 400
32
332dfit
34checkview -screenshot -2d -path ${imagedir}/${test_image}.png