Quadrangle 3D class which is basically only used for collision detection. More...
#include <spDimensionQuadrangle3D.hpp>
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 |
T | 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 |
Quadrangle 3D class which is basically only used for collision detection.
sp::dim::quadrangle3d< T >::quadrangle3d | ( | ) | [inline] |
sp::dim::quadrangle3d< T >::quadrangle3d | ( | const vector3d< T > & | A, | |
const vector3d< T > & | B, | |||
const vector3d< T > & | C, | |||
const vector3d< T > & | D | |||
) | [inline] |
sp::dim::quadrangle3d< T >::quadrangle3d | ( | const quadrangle3d< T > & | Other | ) | [inline] |
sp::dim::quadrangle3d< T >::~quadrangle3d | ( | ) | [inline] |
quadrangle3d<B> sp::dim::quadrangle3d< T >::cast | ( | ) | const [inline] |
bool sp::dim::quadrangle3d< T >::empty | ( | ) | const [inline] |
bool sp::dim::quadrangle3d< T >::equal | ( | const quadrangle3d< T > & | other, | |
f32 | Precision = math::ROUNDING_ERROR | |||
) | const [inline] |
T sp::dim::quadrangle3d< T >::getArea | ( | ) | const [inline] |
vector3d<T> sp::dim::quadrangle3d< T >::getCenter | ( | ) | const [inline] |
vector3d<T> sp::dim::quadrangle3d< T >::getNormal | ( | ) | const [inline] |
quadrangle3d<T> sp::dim::quadrangle3d< T >::getSwaped | ( | ) | const [inline] |
bool sp::dim::quadrangle3d< T >::isPointInside | ( | const vector3d< T > & | Vector | ) | const [inline] |
void sp::dim::quadrangle3d< T >::operator= | ( | const quadrangle3d< T > & | Other | ) | [inline] |
const vector3d<T> sp::dim::quadrangle3d< T >::operator[] | ( | s32 | i | ) | const [inline] |
vector3d<T>& sp::dim::quadrangle3d< T >::operator[] | ( | s32 | i | ) | [inline] |
quadrangle3d<T>& sp::dim::quadrangle3d< T >::swap | ( | ) | [inline] |
vector3d<T> sp::dim::quadrangle3d< T >::PointA |
vector3d<T> sp::dim::quadrangle3d< T >::PointB |
vector3d<T> sp::dim::quadrangle3d< T >::PointC |
vector3d<T> sp::dim::quadrangle3d< T >::PointD |