BOUNDINGBOX Class Reference

#include <Geometry.h>

List of all members.

Public Member Functions

 BOUNDINGBOX ()
void Clear ()
void AddPoint (const VECTOR &)
void AddBox (const BOUNDINGBOX &)
BOOLEAN DoesIntersect (const BOUNDINGBOX &)
void Intersect (const BOUNDINGBOX &)

Public Attributes

BOOLEAN Empty
VECTOR Min
VECTOR Max

Friends

INTERVALL Intersection (const RAY &, const BOUNDINGBOX &)


Detailed Description

Definition at line 44 of file Geometry.h.


Constructor & Destructor Documentation

BOUNDINGBOX::BOUNDINGBOX (  ) 

Definition at line 107 of file Geometry.cpp.

References Empty, and TRUE.


Member Function Documentation

void BOUNDINGBOX::AddBox ( const BOUNDINGBOX  ) 

Definition at line 130 of file Geometry.cpp.

References AddPoint(), and b.

Referenced by SIM3DGroup::AddObject(), SIM3DGroup::MakeNewBoundingBox(), SIM3DGroup::RegisterAdd(), and SIM3DGroup::RegisterBoundingBox().

void BOUNDINGBOX::AddPoint ( const VECTOR  ) 

Definition at line 117 of file Geometry.cpp.

References Empty, FALSE, max, Max, min, Min, VECTOR::x, VECTOR::y, and VECTOR::z.

Referenced by AddBox(), SIM3DPolyeder::GetBoundingBoxOfFace(), and SIM3DPolyeder::MakeNewBoundingBox().

void BOUNDINGBOX::Clear (  ) 

Definition at line 112 of file Geometry.cpp.

References Empty, and TRUE.

Referenced by SIM3DPolyeder::MakeNewBoundingBox(), SIM3DGroup::MakeNewBoundingBox(), SIM3DGroup::RegisterAdd(), and SIM3DGroup::RegisterBoundingBox().

BOOLEAN BOUNDINGBOX::DoesIntersect ( const BOUNDINGBOX  ) 

Definition at line 156 of file Geometry.cpp.

References b, Empty, and Intersect().

Referenced by SIM3DGroup::DoesIntersect().

void BOUNDINGBOX::Intersect ( const BOUNDINGBOX  ) 

Definition at line 136 of file Geometry.cpp.

References b, INTERVALL::Empty, Empty, INTERVALL::Intersect(), INTERVALL::Max, Max, INTERVALL::Min, Min, TRUE, VECTOR::x, VECTOR::y, and VECTOR::z.

Referenced by DoesIntersect().


Friends And Related Function Documentation

INTERVALL Intersection ( const RAY ,
const BOUNDINGBOX  
) [friend]

Definition at line 39 of file Geometry.cpp.


Member Data Documentation

BOOLEAN BOUNDINGBOX::Empty

Definition at line 47 of file Geometry.h.

Referenced by AddPoint(), BOUNDINGBOX(), Clear(), DoesIntersect(), and Intersect().

VECTOR BOUNDINGBOX::Max

Definition at line 48 of file Geometry.h.

Referenced by AddPoint(), and Intersect().

VECTOR BOUNDINGBOX::Min

Definition at line 48 of file Geometry.h.

Referenced by AddPoint(), and Intersect().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:19:29 2006 for DT2005.panorama by  doxygen 1.4.7