0029311: Implementation of the Oriented Bounding Boxes (OBB) functionality
[occt.git] / tests / bugs / moddata_3 / bug25631
CommitLineData
9bf0740b 1puts "========="
2puts "OCC25631"
3puts "========="
4puts ""
5#####################################################################
6## Bounding box is too big for the face.
7#####################################################################
8
1a0339b4 9restore [locate_data_file bug25631_fbx.brep] result
9bf0740b 10
1a0339b4 11bounding -s result -save Xmin Ymin Zmin Xmax Ymax Zmax
9bf0740b 12
13set tol_abs 1.0e-4
1a0339b4 14set tol_rel 1.0e-4
15
16checkreal "Xmin" [dval Xmin] 102.04999989999993 ${tol_abs} ${tol_rel}
17checkreal "Ymin" [dval Ymin] -12.576503364721431 ${tol_abs} ${tol_rel}
18checkreal "Zmin" [dval Zmin] -12.267407382031644 ${tol_abs} ${tol_rel}
19checkreal "Xmax" [dval Xmax] 145.65000009999983 ${tol_abs} ${tol_rel}
20checkreal "Ymax" [dval Ymax] 1.0883692081680807 ${tol_abs} ${tol_rel}
21checkreal "Zmax" [dval Zmax] 1.4146362604116396 ${tol_abs} ${tol_rel}
9bf0740b 22
23smallview
24fit
5747059b 25checkview -screenshot -2d -path ${imagedir}/${test_image}.png