|
Public Member Functions |
| LineSegment () |
| LineSegment (const LineSegment &seg) |
| LineSegment (const Vec3 &s, const Vec3 &e) |
LineSegment & | operator= (const LineSegment &seg) |
void | set (const Vec3 &s, const Vec3 &e) |
Vec3 & | start () |
const Vec3 & | start () const |
Vec3 & | end () |
const Vec3 & | end () const |
bool | valid () const |
bool | intersect (const BoundingBox &bb) const |
bool | intersect (const BoundingBox &bb, float &r1, float &r2) const |
bool | intersect (const BoundingSphere &bs) const |
bool | intersect (const BoundingSphere &bs, float &r1, float &r2) const |
bool | intersect (const Vec3 &v1, const Vec3 &v2, const Vec3 &v3, float &r) |
void | mult (const LineSegment &seg, const Matrix &m) |
void | mult (const Matrix &m, const LineSegment &seg) |
Protected Member Functions |
virtual | ~LineSegment () |
Static Protected Member Functions |
static bool | intersectAndClip (Vec3 &s, Vec3 &e, const BoundingBox &bb) |
Protected Attributes |
Vec3 | _s |
Vec3 | _e |