Wm4::Distance< Real, TVector > Class Template Reference

#include <Wm4Distance.h>

List of all members.

Public Member Functions

virtual Real Get (Real fTMin, Real fTMax, const TVector &rkVelocity0, const TVector &rkVelocity1)
virtual Real Get (Real fT, const TVector &rkVelocity0, const TVector &rkVelocity1)=0
virtual Real Get ()=0
const TVector & GetClosestPoint0 () const
const TVector & GetClosestPoint1 () const
Real GetContactTime () const
virtual Real GetDerivative (Real fT, const TVector &rkVelocity0, const TVector &rkVelocity1)
virtual Real GetDerivativeSquared (Real fT, const TVector &rkVelocity0, const TVector &rkVelocity1)
Real GetDifferenceStep () const
virtual Real GetSquared (Real fTMin, Real fTMax, const TVector &rkVelocity0, const TVector &rkVelocity1)
virtual Real GetSquared (Real fT, const TVector &rkVelocity0, const TVector &rkVelocity1)=0
virtual Real GetSquared ()=0
bool HasMultipleClosestPoints0 () const
bool HasMultipleClosestPoints1 () const
void SetDifferenceStep (Real fDifferenceStep)
virtual ~Distance ()

Public Attributes

int MaximumIterations
Real ZeroThreshold

Protected Member Functions

 Distance ()

Protected Attributes

bool m_bHasMultipleClosestPoints0
bool m_bHasMultipleClosestPoints1
Real m_fContactTime
Real m_fDifferenceStep
Real m_fInvTwoDifferenceStep
TVector m_kClosestPoint0
TVector m_kClosestPoint1

Detailed Description

template<class Real, class TVector>
class Wm4::Distance< Real, TVector >

Definition at line 28 of file Wm4Distance.h.


Constructor & Destructor Documentation

template<class Real , class TVector >
Wm4::Distance< Real, TVector >::~Distance (  )  [inline, virtual]

Definition at line 36 of file Wm4Distance.cpp.

template<class Real , class TVector >
Wm4::Distance< Real, TVector >::Distance (  )  [inline, protected]

Member Function Documentation

template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::Get ( Real  fTMin,
Real  fTMax,
const TVector &  rkVelocity0,
const TVector &  rkVelocity1 
) [inline, virtual]
template<class Real, class TVector>
virtual Real Wm4::Distance< Real, TVector >::Get ( Real  fT,
const TVector &  rkVelocity0,
const TVector &  rkVelocity1 
) [pure virtual]
template<class Real, class TVector>
virtual Real Wm4::Distance< Real, TVector >::Get (  )  [pure virtual]
template<class Real , class TVector >
const TVector & Wm4::Distance< Real, TVector >::GetClosestPoint0 (  )  const [inline]

Definition at line 53 of file Wm4Distance.cpp.

References Wm4::Distance< Real, TVector >::m_kClosestPoint0.

template<class Real , class TVector >
const TVector & Wm4::Distance< Real, TVector >::GetClosestPoint1 (  )  const [inline]

Definition at line 59 of file Wm4Distance.cpp.

References Wm4::Distance< Real, TVector >::m_kClosestPoint1.

template<class Real , class TVector >
Real Wm4::Distance< Real, TVector >::GetContactTime (  )  const [inline]

Definition at line 47 of file Wm4Distance.cpp.

References Wm4::Distance< Real, TVector >::m_fContactTime.

template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::GetDerivative ( Real  fT,
const TVector &  rkVelocity0,
const TVector &  rkVelocity1 
) [inline, virtual]
template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::GetDerivativeSquared ( Real  fT,
const TVector &  rkVelocity0,
const TVector &  rkVelocity1 
) [inline, virtual]
template<class Real , class TVector >
Real Wm4::Distance< Real, TVector >::GetDifferenceStep (  )  const [inline]

Definition at line 41 of file Wm4Distance.cpp.

References Wm4::Distance< Real, TVector >::m_fDifferenceStep.

template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::GetSquared ( Real  fTMin,
Real  fTMax,
const TVector &  rkVelocity0,
const TVector &  rkVelocity1 
) [inline, virtual]
template<class Real, class TVector>
virtual Real Wm4::Distance< Real, TVector >::GetSquared ( Real  fT,
const TVector &  rkVelocity0,
const TVector &  rkVelocity1 
) [pure virtual]
template<class Real, class TVector>
virtual Real Wm4::Distance< Real, TVector >::GetSquared (  )  [pure virtual]
template<class Real , class TVector >
bool Wm4::Distance< Real, TVector >::HasMultipleClosestPoints0 (  )  const [inline]
template<class Real , class TVector >
bool Wm4::Distance< Real, TVector >::HasMultipleClosestPoints1 (  )  const [inline]
template<class Real, class TVector >
void Wm4::Distance< Real, TVector >::SetDifferenceStep ( Real  fDifferenceStep  )  [inline]

Member Data Documentation

template<class Real, class TVector>
bool Wm4::Distance< Real, TVector >::m_bHasMultipleClosestPoints0 [protected]
template<class Real, class TVector>
bool Wm4::Distance< Real, TVector >::m_bHasMultipleClosestPoints1 [protected]
template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::m_fContactTime [protected]
template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::m_fDifferenceStep [protected]
template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::m_fInvTwoDifferenceStep [protected]
template<class Real, class TVector>
TVector Wm4::Distance< Real, TVector >::m_kClosestPoint0 [protected]

Definition at line 86 of file Wm4Distance.h.

Referenced by Wm4::Distance< Real, TVector >::GetClosestPoint0().

template<class Real, class TVector>
TVector Wm4::Distance< Real, TVector >::m_kClosestPoint1 [protected]

Definition at line 87 of file Wm4Distance.h.

Referenced by Wm4::Distance< Real, TVector >::GetClosestPoint1().

template<class Real, class TVector>
int Wm4::Distance< Real, TVector >::MaximumIterations
template<class Real, class TVector>
Real Wm4::Distance< Real, TVector >::ZeroThreshold

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:49 2011 for FreeCAD by  doxygen 1.6.1