1box b1 0 0 0 1 1 1
2dset a30 atan2(1,2)*180/pi
3dset r sqrt(5)
4box b2 0 0.5 0 r/2 1/r 1
5trotate b2 0 0.5 0 0 0 1 a30
6
7bop b1 b2
8bopcommon result
9
10checkprops result -s 3.11803
11checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png
12