#include <llbboxlocal.h>
Collaboration diagram for LLBBoxLocal:
Public Member Functions | |
LLBBoxLocal () | |
LLBBoxLocal (const LLVector3 &min, const LLVector3 &max) | |
const LLVector3 & | getMin () const |
void | setMin (const LLVector3 &min) |
const LLVector3 & | getMax () 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) |
Definition at line 39 of file llbboxlocal.h.
LLBBoxLocal::LLBBoxLocal | ( | ) | [inline] |
Definition at line 42 of file llbboxlocal.h.
Definition at line 43 of file llbboxlocal.h.
void LLBBoxLocal::addBBox | ( | const LLBBoxLocal & | b | ) | [inline] |
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().
Definition at line 47 of file llbboxlocal.cpp.
LLVector3 LLBBoxLocal::getCenter | ( | ) | const [inline] |
LLVector3 LLBBoxLocal::getExtent | ( | ) | const [inline] |
const LLVector3& LLBBoxLocal::getMax | ( | ) | const [inline] |
const LLVector3& LLBBoxLocal::getMin | ( | ) | const [inline] |
BOOL LLBBoxLocal::intersects | ( | const LLBBoxLocal & | b | ) | const |
LLBBoxLocal operator * | ( | const LLBBoxLocal & | a, | |
const LLMatrix4 & | b | |||
) | [friend] |
Definition at line 57 of file llbboxlocal.cpp.
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().