LLBBoxLocal Class Reference

#include <llbboxlocal.h>

Collaboration diagram for LLBBoxLocal:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLBBoxLocal ()
 LLBBoxLocal (const LLVector3 &min, const LLVector3 &max)
const LLVector3getMin () const
void setMin (const LLVector3 &min)
const LLVector3getMax () const
void setMax (const LLVector3 &max)
LLVector3 getCenter () const
LLVector3 getExtent () const
BOOL containsPoint (const LLVector3 &p) const
BOOL intersects (const LLBBoxLocal &b) const
void addPoint (const LLVector3 &p)
void addBBox (const LLBBoxLocal &b)
void expand (F32 delta)

Private Attributes

LLVector3 mMin
LLVector3 mMax

Friends

LLBBoxLocal operator * (const LLBBoxLocal &a, const LLMatrix4 &b)

Detailed Description

Definition at line 39 of file llbboxlocal.h.


Constructor & Destructor Documentation

LLBBoxLocal::LLBBoxLocal (  )  [inline]

Definition at line 42 of file llbboxlocal.h.

LLBBoxLocal::LLBBoxLocal ( const LLVector3 min,
const LLVector3 max 
) [inline]

Definition at line 43 of file llbboxlocal.h.


Member Function Documentation

void LLBBoxLocal::addBBox ( const LLBBoxLocal b  )  [inline]

Definition at line 59 of file llbboxlocal.h.

References addPoint(), and b.

void LLBBoxLocal::addPoint ( const LLVector3 p  ) 

Definition at line 37 of file llbboxlocal.cpp.

References llmax(), llmin(), mMax, mMin, LLVector3::mV, p, VX, VY, and VZ.

Referenced by addBBox(), and LLKeyframeMotion::deserialize().

BOOL LLBBoxLocal::containsPoint ( const LLVector3 p  )  const

void LLBBoxLocal::expand ( F32  delta  ) 

Definition at line 47 of file llbboxlocal.cpp.

References mMax, mMin, LLVector3::mV, VX, VY, and VZ.

LLVector3 LLBBoxLocal::getCenter (  )  const [inline]

Definition at line 52 of file llbboxlocal.h.

References mMax, and mMin.

Referenced by LLFloaterAnimPreview::postBuild().

LLVector3 LLBBoxLocal::getExtent (  )  const [inline]

Definition at line 53 of file llbboxlocal.h.

References mMax, and mMin.

Referenced by LLFloaterAnimPreview::postBuild().

const LLVector3& LLBBoxLocal::getMax (  )  const [inline]

Definition at line 49 of file llbboxlocal.h.

References mMax.

const LLVector3& LLBBoxLocal::getMin (  )  const [inline]

Definition at line 46 of file llbboxlocal.h.

References mMin.

BOOL LLBBoxLocal::intersects ( const LLBBoxLocal b  )  const

void LLBBoxLocal::setMax ( const LLVector3 max  )  [inline]

Definition at line 50 of file llbboxlocal.h.

References mMax.

void LLBBoxLocal::setMin ( const LLVector3 min  )  [inline]

Definition at line 47 of file llbboxlocal.h.

References mMin.


Friends And Related Function Documentation

LLBBoxLocal operator * ( const LLBBoxLocal a,
const LLMatrix4 b 
) [friend]

Definition at line 57 of file llbboxlocal.cpp.


Member Data Documentation

LLVector3 LLBBoxLocal::mMax [private]

Definition at line 67 of file llbboxlocal.h.

Referenced by addPoint(), expand(), getCenter(), getExtent(), getMax(), and setMax().

LLVector3 LLBBoxLocal::mMin [private]

Definition at line 66 of file llbboxlocal.h.

Referenced by addPoint(), expand(), getCenter(), getExtent(), getMin(), and setMin().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:11 2010 for Second Life Viewer by  doxygen 1.4.7