TSphere< T > Class Template Reference

#include <TSphere.h>

List of all members.

Public Member Functions

 TSphere ()
 TSphere (CVector3f vCenter, T radius)
 TSphere (const TSphere &other)
const TSphereoperator= (const TSphere &other)
const TSphere< T > operator+ (const TVector3< T > &vec) const
const TSphere< T > & operator+= (const TVector3< T > &vec)
const TSphere< T > operator* (const TVector3< T > &vec) const
const TSphere< T > & operator*= (const TVector3< T > &vec)
const TSphere< T > operator* (const T &value) const
const TSphere< T > & operator*= (const T &value)
const TSphere< T > GetRotatedSphere (const CVector3f &vRotation) const
bool RayIntersection (const CVector3f &vRayOrigin, const CVector3f &vRayDir, float &fDistance) const
bool Intersects (const TSphere< T > &other) const
void Log (word wTargetLog) const

Public Attributes

TVector3< T > m_vCenter
m_Radius


Detailed Description

template<typename T>
class TSphere< T >

Definition at line 35 of file TSphere.h.


Constructor & Destructor Documentation

template<typename T >
TSphere< T >::TSphere (  )  [inline]

Definition at line 41 of file TSphere.h.

template<typename T >
TSphere< T >::TSphere ( CVector3f  vCenter,
radius 
) [inline]

Definition at line 42 of file TSphere.h.

template<typename T >
TSphere< T >::TSphere ( const TSphere< T > &  other  )  [inline]

Definition at line 43 of file TSphere.h.


Member Function Documentation

template<typename T >
const TSphere< T > TSphere< T >::GetRotatedSphere ( const CVector3f vRotation  )  const [inline]

template<typename T >
bool TSphere< T >::Intersects ( const TSphere< T > &  other  )  const [inline]

Definition at line 103 of file TSphere.h.

References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.

template<typename T >
void TSphere< T >::Log ( word  wTargetLog  )  const [inline]

Definition at line 58 of file TSphere.h.

References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.

template<typename T >
const TSphere<T> TSphere< T >::operator* ( const T &  value  )  const [inline]

Definition at line 51 of file TSphere.h.

References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.

template<typename T >
const TSphere<T> TSphere< T >::operator* ( const TVector3< T > &  vec  )  const [inline]

template<typename T >
const TSphere<T>& TSphere< T >::operator*= ( const T &  value  )  [inline]

Definition at line 52 of file TSphere.h.

References TSphere< T >::m_Radius.

template<typename T >
const TSphere<T>& TSphere< T >::operator*= ( const TVector3< T > &  vec  )  [inline]

template<typename T >
const TSphere<T> TSphere< T >::operator+ ( const TVector3< T > &  vec  )  const [inline]

Definition at line 46 of file TSphere.h.

References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.

template<typename T >
const TSphere<T>& TSphere< T >::operator+= ( const TVector3< T > &  vec  )  [inline]

Definition at line 47 of file TSphere.h.

template<typename T >
const TSphere& TSphere< T >::operator= ( const TSphere< T > &  other  )  [inline]

Definition at line 44 of file TSphere.h.

References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.

template<typename T >
bool TSphere< T >::RayIntersection ( const CVector3f vRayOrigin,
const CVector3f vRayDir,
float &  fDistance 
) const [inline]

Definition at line 82 of file TSphere.h.

References TVector3< T >::Dot(), TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.


Member Data Documentation

template<typename T >
T TSphere< T >::m_Radius

template<typename T >
TVector3<T> TSphere< T >::m_vCenter


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

Generated on Wed Dec 10 03:22:19 2008 for VStudio by  doxygen 1.5.7.1