0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_7 / bug29311_10
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 -50 -50 -50 1 1 1 -40
14trotate b2 -50 -50 -50 1 1 1 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}