5 #################################################
6 # Implementation of the Oriented Bounding Boxes (OBB) functionality
7 #################################################
10 trotate result 5 10 15 1 1 1 28
13 bounding result -shape ra -dump -save x1 y1 z1 x2 y2 z2
15 dump x1 y1 z1 x2 y2 z2
17 set VaExp [ dval (x2-x1)*(y2-y1)*(z2-z1) ]
19 checkprops ra -v $VaExp
22 bounding result -shape ro -dump -obb
24 checkprops ro -v 28694.7
28 checkview -screenshot -2d -path ${imagedir}/${test_image}.png