0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug29311_5
CommitLineData
1a0339b4 1puts "========"
2puts "OCC29311"
3puts "========"
4puts ""
5#################################################
6# Implementation of the Oriented Bounding Boxes (OBB) functionality
7#################################################
8
9# Interferences of AABB
10
11box b1 100 60 140 20 10 80
12box b2 210 200 80 120 60 90
13
14if { ![regexp {NOT interfered by AABB} [ isbbinterf b1 b2 ] ] } {
15 puts "Error : Wrong check of AABBs interferences"
16} else {
17 puts "OK : check of AABBs interferences"
18}
19
20if { ![regexp {NOT interfered by AABB} [ isbbinterf b2 b1 ] ] } {
21 puts "Error : Wrong check of AABBs interferences"
22} else {
23 puts "OK : check of AABBs interferences"
24}