Public Member Functions | Public Attributes

sp::dim::quadrangle3d< T > Class Template Reference

Quadrangle 3D class which is basically only used for collision detection. More...

#include <spDimensionQuadrangle3D.hpp>

List of all members.

Public Member Functions

 quadrangle3d ()
 quadrangle3d (const vector3d< T > &A, const vector3d< T > &B, const vector3d< T > &C, const vector3d< T > &D)
 quadrangle3d (const quadrangle3d< T > &Other)
 ~quadrangle3d ()
void operator= (const quadrangle3d< T > &Other)
const vector3d< T > operator[] (s32 i) const
vector3d< T > & operator[] (s32 i)
vector3d< T > getNormal () const
vector3d< T > getCenter () const
getArea () const
bool isPointInside (const vector3d< T > &Vector) const
quadrangle3d< T > getSwaped () const
quadrangle3d< T > & swap ()
bool equal (const quadrangle3d< T > &other, f32 Precision=math::ROUNDING_ERROR) const
bool empty () const
template<typename B >
quadrangle3d< B > cast () const

Public Attributes

vector3d< T > PointA
vector3d< T > PointB
vector3d< T > PointC
vector3d< T > PointD

Detailed Description

template<typename T>
class sp::dim::quadrangle3d< T >

Quadrangle 3D class which is basically only used for collision detection.


Constructor & Destructor Documentation

template<typename T>
sp::dim::quadrangle3d< T >::quadrangle3d (  )  [inline]
template<typename T>
sp::dim::quadrangle3d< T >::quadrangle3d ( const vector3d< T > &  A,
const vector3d< T > &  B,
const vector3d< T > &  C,
const vector3d< T > &  D 
) [inline]
template<typename T>
sp::dim::quadrangle3d< T >::quadrangle3d ( const quadrangle3d< T > &  Other  )  [inline]
template<typename T>
sp::dim::quadrangle3d< T >::~quadrangle3d (  )  [inline]

Member Function Documentation

template<typename T>
template<typename B >
quadrangle3d<B> sp::dim::quadrangle3d< T >::cast (  )  const [inline]
template<typename T>
bool sp::dim::quadrangle3d< T >::empty (  )  const [inline]
template<typename T>
bool sp::dim::quadrangle3d< T >::equal ( const quadrangle3d< T > &  other,
f32  Precision = math::ROUNDING_ERROR 
) const [inline]
template<typename T>
T sp::dim::quadrangle3d< T >::getArea (  )  const [inline]
template<typename T>
vector3d<T> sp::dim::quadrangle3d< T >::getCenter (  )  const [inline]
template<typename T>
vector3d<T> sp::dim::quadrangle3d< T >::getNormal (  )  const [inline]
template<typename T>
quadrangle3d<T> sp::dim::quadrangle3d< T >::getSwaped (  )  const [inline]
template<typename T>
bool sp::dim::quadrangle3d< T >::isPointInside ( const vector3d< T > &  Vector  )  const [inline]
Todo:
This has not been tested yet!
template<typename T>
void sp::dim::quadrangle3d< T >::operator= ( const quadrangle3d< T > &  Other  )  [inline]
template<typename T>
const vector3d<T> sp::dim::quadrangle3d< T >::operator[] ( s32  i  )  const [inline]
template<typename T>
vector3d<T>& sp::dim::quadrangle3d< T >::operator[] ( s32  i  )  [inline]
template<typename T>
quadrangle3d<T>& sp::dim::quadrangle3d< T >::swap (  )  [inline]

Member Data Documentation

template<typename T>
vector3d<T> sp::dim::quadrangle3d< T >::PointA
template<typename T>
vector3d<T> sp::dim::quadrangle3d< T >::PointB
template<typename T>
vector3d<T> sp::dim::quadrangle3d< T >::PointC
template<typename T>
vector3d<T> sp::dim::quadrangle3d< T >::PointD

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines