Pentagram::Box Struct Reference

#include <Box.h>

List of all members.

Public Member Functions

 Box ()
 Box (int nx, int ny, int nz, int nxd, int nyd, int nzd)
 Box (const Box &o)
void Set (int nx, int ny, int nz, int nxd, int nyd, int nzd)
void Set (Box &o)
bool IsValid () const
bool InBox (int px, int py, int pz) const
void MoveRel (sint32 dx, sint32 dy, sint32 dz)
void MoveAbs (sint32 nx, sint32 ny, sint32 nz)
void ResizeRel (sint32 dxd, sint32 dyd, sint32 dzd)
void ResizeAbs (sint32 nxd, sint32 nyd, sint32 nzd)
bool Overlaps (const Box &o) const
bool operator== (const Box &o) const

Public Attributes

sint32 x
sint32 y
sint32 z
sint32 xd
sint32 yd
sint32 zd


Detailed Description

Definition at line 24 of file Box.h.


Constructor & Destructor Documentation

Pentagram::Box::Box (  )  [inline]

Definition at line 28 of file Box.h.

Pentagram::Box::Box ( int  nx,
int  ny,
int  nz,
int  nxd,
int  nyd,
int  nzd 
) [inline]

Definition at line 29 of file Box.h.

Pentagram::Box::Box ( const Box o  )  [inline]

Definition at line 31 of file Box.h.


Member Function Documentation

bool Pentagram::Box::InBox ( int  px,
int  py,
int  pz 
) const [inline]

Definition at line 42 of file Box.h.

References x, xd, y, yd, z, and zd.

bool Pentagram::Box::IsValid (  )  const [inline]

Definition at line 38 of file Box.h.

References xd, yd, and zd.

void Pentagram::Box::MoveAbs ( sint32  nx,
sint32  ny,
sint32  nz 
) [inline]

Definition at line 50 of file Box.h.

References x, y, and z.

Referenced by AnimationTracker::checkWeaponHit().

void Pentagram::Box::MoveRel ( sint32  dx,
sint32  dy,
sint32  dz 
) [inline]

Definition at line 47 of file Box.h.

References x, y, and z.

Referenced by AnimationTracker::checkWeaponHit().

bool Pentagram::Box::operator== ( const Box o  )  const [inline]

Definition at line 68 of file Box.h.

References x, xd, y, yd, z, and zd.

bool Pentagram::Box::Overlaps ( const Box o  )  const [inline]

Definition at line 60 of file Box.h.

References x, xd, y, yd, z, and zd.

Referenced by AnimationTracker::checkWeaponHit().

void Pentagram::Box::ResizeAbs ( sint32  nxd,
sint32  nyd,
sint32  nzd 
) [inline]

Definition at line 57 of file Box.h.

References xd, yd, and zd.

void Pentagram::Box::ResizeRel ( sint32  dxd,
sint32  dyd,
sint32  dzd 
) [inline]

Definition at line 53 of file Box.h.

References xd, yd, and zd.

void Pentagram::Box::Set ( Box o  )  [inline]

Definition at line 35 of file Box.h.

void Pentagram::Box::Set ( int  nx,
int  ny,
int  nz,
int  nxd,
int  nyd,
int  nzd 
) [inline]

Definition at line 33 of file Box.h.

References x, xd, y, yd, z, and zd.


Member Data Documentation

sint32 Pentagram::Box::x

Definition at line 25 of file Box.h.

Referenced by AnimationTracker::checkWeaponHit(), InBox(), MoveAbs(), MoveRel(), operator==(), Overlaps(), and Set().

sint32 Pentagram::Box::xd

Definition at line 26 of file Box.h.

Referenced by AnimationTracker::checkWeaponHit(), InBox(), IsValid(), operator==(), Overlaps(), ResizeAbs(), ResizeRel(), and Set().

sint32 Pentagram::Box::y

Definition at line 25 of file Box.h.

Referenced by AnimationTracker::checkWeaponHit(), InBox(), MoveAbs(), MoveRel(), operator==(), Overlaps(), and Set().

sint32 Pentagram::Box::yd

Definition at line 26 of file Box.h.

Referenced by AnimationTracker::checkWeaponHit(), InBox(), IsValid(), operator==(), Overlaps(), ResizeAbs(), ResizeRel(), and Set().

sint32 Pentagram::Box::z

Definition at line 25 of file Box.h.

Referenced by AnimationTracker::checkWeaponHit(), InBox(), MoveAbs(), MoveRel(), operator==(), Overlaps(), and Set().

sint32 Pentagram::Box::zd

Definition at line 26 of file Box.h.

Referenced by AnimationTracker::checkWeaponHit(), InBox(), IsValid(), operator==(), Overlaps(), ResizeAbs(), ResizeRel(), and Set().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 27 22:30:34 2007 for pentagram by  doxygen 1.4.7