40 #ifndef _axisalignedbox_cpp
41 #define _axisalignedbox_cpp
50 #include "exception.h"
83 return ( this->
MinExt.
X >= this->MaxExt.X &&
84 this->MinExt.Y >= this->MaxExt.Y &&
85 this->MinExt.Z >= this->MaxExt.Z );
91 return ( Diff.
X * Diff.
Y * Diff.
Z );
100 if( NewMin.
X < NewMax.X && NewMin.
Y < NewMax.Y && NewMin.
Z < NewMax.Z ) {
144 {
return ( this->
GetSize() * 0.5 ); }
151 return Vector3( ( XEx == AE_Min ? this->
MinExt.
X : this->MaxExt.X ),
152 ( YEx == AE_Min ? this->MinExt.Y : this->MaxExt.Y ),
153 ( ZEx == AE_Min ? this->MinExt.Z : this->MaxExt.Z ) );
192 if( !MinimumNode.
Empty() )
196 if( !MaximumNode.
Empty() )
208 return "AxisAlignedBox";