0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug29311_8
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 100 150 200
12copy b1 b2
13trotate b1 -150 -150 -150 1 2 3 -40
14trotate b2 -150 -150 -150 1 5 2 60
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}