#include <Wm4Intersector.h>
Public Types | |
enum | { IT_EMPTY = LinComp<Real>::CT_EMPTY, IT_POINT = LinComp<Real>::CT_POINT, IT_SEGMENT = LinComp<Real>::CT_SEGMENT, IT_RAY = LinComp<Real>::CT_RAY, IT_LINE = LinComp<Real>::CT_LINE, IT_POLYGON, IT_PLANE, IT_POLYHEDRON, IT_OTHER } |
Public Member Functions | |
virtual bool | Find (Real fTMax, const TVector &rkVelocity0, const TVector &rkVelocity1) |
virtual bool | Find () |
Real | GetContactTime () const |
int | GetIntersectionType () const |
virtual bool | Test (Real fTMax, const TVector &rkVelocity0, const TVector &rkVelocity1) |
virtual bool | Test () |
virtual | ~Intersector () |
Protected Member Functions | |
Intersector () | |
Protected Attributes | |
Real | m_fContactTime |
int | m_iIntersectionType |
Definition at line 29 of file Wm4Intersector.h.
anonymous enum |
Definition at line 56 of file Wm4Intersector.h.
Wm4::Intersector< Real, TVector >::~Intersector | ( | ) | [inline, virtual] |
Definition at line 31 of file Wm4Intersector.cpp.
Wm4::Intersector< Real, TVector >::Intersector | ( | ) | [inline, protected] |
Definition at line 24 of file Wm4Intersector.cpp.
References Wm4::Intersector< Real, TVector >::IT_EMPTY, Wm4::Intersector< Real, TVector >::m_fContactTime, and Wm4::Intersector< Real, TVector >::m_iIntersectionType.
bool Wm4::Intersector< Real, TVector >::Find | ( | Real | fTMax, | |
const TVector & | rkVelocity0, | |||
const TVector & | rkVelocity1 | |||
) | [inline, virtual] |
Reimplemented in Wm4::IntrTriangle2Triangle2< Real >, and Wm4::IntrTriangle3Triangle3< Real >.
Definition at line 72 of file Wm4Intersector.cpp.
bool Wm4::Intersector< Real, TVector >::Find | ( | ) | [inline, virtual] |
Reimplemented in Wm4::IntrLine3Box3< Real >, Wm4::IntrLine3Plane3< Real >, Wm4::IntrSegment3Box3< Real >, Wm4::IntrSegment3Plane3< Real >, Wm4::IntrTriangle2Triangle2< Real >, and Wm4::IntrTriangle3Triangle3< Real >.
Definition at line 56 of file Wm4Intersector.cpp.
Real Wm4::Intersector< Real, TVector >::GetContactTime | ( | ) | const [inline] |
Definition at line 36 of file Wm4Intersector.cpp.
References Wm4::Intersector< Real, TVector >::m_fContactTime.
int Wm4::Intersector< Real, TVector >::GetIntersectionType | ( | ) | const [inline] |
Definition at line 42 of file Wm4Intersector.cpp.
References Wm4::Intersector< Real, TVector >::m_iIntersectionType.
bool Wm4::Intersector< Real, TVector >::Test | ( | Real | fTMax, | |
const TVector & | rkVelocity0, | |||
const TVector & | rkVelocity1 | |||
) | [inline, virtual] |
Reimplemented in Wm4::IntrTriangle2Triangle2< Real >, and Wm4::IntrTriangle3Triangle3< Real >.
Definition at line 64 of file Wm4Intersector.cpp.
bool Wm4::Intersector< Real, TVector >::Test | ( | ) | [inline, virtual] |
Reimplemented in Wm4::IntrLine3Box3< Real >, Wm4::IntrLine3Plane3< Real >, Wm4::IntrSegment3Box3< Real >, Wm4::IntrSegment3Plane3< Real >, Wm4::IntrTriangle2Triangle2< Real >, and Wm4::IntrTriangle3Triangle3< Real >.
Definition at line 48 of file Wm4Intersector.cpp.
Real Wm4::Intersector< Real, TVector >::m_fContactTime [protected] |
Definition at line 73 of file Wm4Intersector.h.
Referenced by Wm4::Intersector< Real, TVector >::GetContactTime(), and Wm4::Intersector< Real, TVector >::Intersector().
int Wm4::Intersector< Real, TVector >::m_iIntersectionType [protected] |
Definition at line 74 of file Wm4Intersector.h.
Referenced by Wm4::Intersector< Real, TVector >::GetIntersectionType(), and Wm4::Intersector< Real, TVector >::Intersector().