0028248: [Regression] HLR Algo result is retrieved from the last added shape only
[occt.git] / tests / bugs / modalg_7 / bug29311_13
1 puts "========"
2 puts "OCC29311"
3 puts "========"
4 puts ""
5 #################################################
6 # Implementation of the Oriented Bounding Boxes (OBB) functionality
7 #################################################
8
9 restore [locate_data_file CTO900_cts19474part.rle] part
10
11 compound result
12
13 # construct obb for each edge of the shape
14 foreach e [explode part e] {
15   if [catch {bounding -s $e -obb}] {
16     puts "Error with $e (exception)"
17     add $e result
18   } else {
19     puts "$e OK"
20   }
21 }
22
23 checknbshapes result -edge 0