0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / modalg_7 / bug29311_15
CommitLineData
1a0339b4 1puts "========"
2puts "OCC29311"
3puts "========"
4puts ""
5#################################################
6# Implementation of the Oriented Bounding Boxes (OBB) functionality
7#################################################
8
9set px 1
10set py 2
11set pz 3
12
13vertex vv $px $py $pz
1f26f80b 14set log [bounding vv -obb -dump]
1a0339b4 15
16if {![regexp {Center: +([-0-9.+eE]+) +([-0-9.+eE]+) +([-0-9.+eE]+)} $log full xc yc zc]} {
17 puts "Error in Dump."
18}
19
20checkreal "XC" $xc $px 1.0e-7 0.0
21checkreal "YC" $yc $py 1.0e-7 0.0
22checkreal "ZC" $zc $pz 1.0e-7 0.0