#include <llbboxlocal.h>
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.
Referenced by operator*().
Definition at line 43 of file llbboxlocal.h.
const LLVector3& LLBBoxLocal::getMin | ( | ) | const [inline] |
void LLBBoxLocal::setMin | ( | const LLVector3 & | min | ) | [inline] |
const LLVector3& LLBBoxLocal::getMax | ( | ) | const [inline] |
void LLBBoxLocal::setMax | ( | const LLVector3 & | max | ) | [inline] |
LLVector3 LLBBoxLocal::getCenter | ( | ) | const [inline] |
Definition at line 52 of file llbboxlocal.h.
Referenced by LLFloaterAnimPreview::postBuild().
LLVector3 LLBBoxLocal::getExtent | ( | ) | const [inline] |
Definition at line 53 of file llbboxlocal.h.
Referenced by LLFloaterAnimPreview::postBuild().
BOOL LLBBoxLocal::intersects | ( | const LLBBoxLocal & | b | ) | const |
void LLBBoxLocal::addPoint | ( | const LLVector3 & | p | ) |
Definition at line 37 of file llbboxlocal.cpp.
References llmax(), llmin(), mMax, mMin, LLVector3::mV, VX, VY, and VZ.
Referenced by addBBox(), and LLKeyframeMotion::deserialize().
void LLBBoxLocal::addBBox | ( | const LLBBoxLocal & | b | ) | [inline] |
Definition at line 59 of file llbboxlocal.h.
References addPoint(), mMax, and mMin.
void LLBBoxLocal::expand | ( | F32 | delta | ) |
Definition at line 47 of file llbboxlocal.cpp.
LLBBoxLocal operator* | ( | const LLBBoxLocal & | a, | |
const LLMatrix4 & | b | |||
) | [friend] |
Definition at line 57 of file llbboxlocal.cpp.
LLVector3 LLBBoxLocal::mMin [private] |
Definition at line 66 of file llbboxlocal.h.
Referenced by addBBox(), addPoint(), expand(), getCenter(), getExtent(), getMin(), operator*(), and setMin().
LLVector3 LLBBoxLocal::mMax [private] |
Definition at line 67 of file llbboxlocal.h.
Referenced by addBBox(), addPoint(), expand(), getCenter(), getExtent(), getMax(), operator*(), and setMax().