blob: fa62c5f10c03a99e22f26164ce52f5bbf3be7036 [file] [edit]
puts "========"
puts "OCC29311"
puts "========"
puts ""
#################################################
# Implementation of the Oriented Bounding Boxes (OBB) functionality
#################################################
restore [locate_data_file CTO900_cts19474part.rle] part
compound result
# construct obb for each edge of the shape
foreach e [explode part e] {
if [catch {bounding $e -obb}] {
puts "Error with $e (exception)"
add $e result
} else {
puts "$e OK"
}
}
checknbshapes result -edge 0