0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / modalg_7 / bug29311_9
CommitLineData
1a0339b4 1puts "========"
2puts "OCC29311"
3puts "========"
4puts ""
5#################################################
6# Implementation of the Oriented Bounding Boxes (OBB) functionality
7#################################################
8
9# Interferences of OBB
10
11box b1 -300 -300 -300 600 600 600
12box b2 100 100 100
13trotate b1 0 0 0 1 2 3 -28
14trotate b2 0 0 0 5 6 7 34
15
16if { [regexp {NOT interfered by OBB} [ isbbinterf b1 b2 -o ] ] } {
17 puts "Error : Wrong check of OBBs interferences"
18} else {
19 puts "OK : check of OBBs interferences"
20}
21
22if { [regexp {NOT interfered by OBB} [ isbbinterf b2 b1 -o ] ] } {
23 puts "Error : Wrong check of OBBs interferences"
24} else {
25 puts "OK : check of OBBs interferences"
26}