#include <Wm4IntrLine3Box3.h>
Public Member Functions | |
virtual bool | Find () |
const Box3< Real > & | GetBox () const |
const Line3< Real > & | GetLine () const |
const Vector3< Real > & | GetPoint (int i) const |
int | GetQuantity () const |
IntrLine3Box3 (const Line3< Real > &rkLine, const Box3< Real > &rkBox) | |
virtual bool | Test () |
Static Public Member Functions | |
static bool | DoClipping (Real fT0, Real fT1, const Vector3< Real > &rkOrigin, const Vector3< Real > &rkDirection, const Box3< Real > &rkBox, bool bSolid, int &riQuantity, Vector3< Real > akPoint[2], int &riIntrType) |
Definition at line 29 of file Wm4IntrLine3Box3.h.
Wm4::IntrLine3Box3< Real >::IntrLine3Box3 | ( | const Line3< Real > & | rkLine, | |
const Box3< Real > & | rkBox | |||
) | [inline] |
Definition at line 24 of file Wm4IntrLine3Box3.cpp.
bool Wm4::IntrLine3Box3< Real >::DoClipping | ( | Real | fT0, | |
Real | fT1, | |||
const Vector3< Real > & | rkOrigin, | |||
const Vector3< Real > & | rkDirection, | |||
const Box3< Real > & | rkBox, | |||
bool | bSolid, | |||
int & | riQuantity, | |||
Vector3< Real > | akPoint[2], | |||
int & | riIntrType | |||
) | [inline, static] |
Definition at line 101 of file Wm4IntrLine3Box3.cpp.
References Wm4::Box3< Real >::Axis, Wm4::Box3< Real >::Center, Wm4::Vector3< Real >::Dot(), Wm4::Box3< Real >::Extent, Wm4::Intersector< Real, Vector3< Real > >::IT_EMPTY, Wm4::Intersector< Real, Vector3< Real > >::IT_POINT, and Wm4::Intersector< Real, Vector3< Real > >::IT_SEGMENT.
Referenced by Wm4::IntrLine3Box3< Real >::Find().
bool Wm4::IntrLine3Box3< Real >::Find | ( | ) | [inline, virtual] |
Reimplemented from Wm4::Intersector< Real, Vector3< Real > >.
Definition at line 80 of file Wm4IntrLine3Box3.cpp.
References Wm4::IntrLine3Box3< Real >::DoClipping(), and Wm4::Intersector< Real, Vector3< Real > >::m_iIntersectionType.
const Box3< Real > & Wm4::IntrLine3Box3< Real >::GetBox | ( | ) | const [inline] |
Definition at line 39 of file Wm4IntrLine3Box3.cpp.
const Line3< Real > & Wm4::IntrLine3Box3< Real >::GetLine | ( | ) | const [inline] |
Definition at line 33 of file Wm4IntrLine3Box3.cpp.
const Vector3< Real > & Wm4::IntrLine3Box3< Real >::GetPoint | ( | int | i | ) | const [inline] |
Definition at line 94 of file Wm4IntrLine3Box3.cpp.
int Wm4::IntrLine3Box3< Real >::GetQuantity | ( | ) | const [inline] |
Definition at line 88 of file Wm4IntrLine3Box3.cpp.
bool Wm4::IntrLine3Box3< Real >::Test | ( | ) | [inline, virtual] |
Reimplemented from Wm4::Intersector< Real, Vector3< Real > >.
Definition at line 45 of file Wm4IntrLine3Box3.cpp.
References Wm4::Vector3< Real >::Dot().