Public Member Functions | Public Attributes

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

#include <spDimensionOBB.hpp>

List of all members.

Public Member Functions

 obbox3d ()
 obbox3d (const vector3d< T > &Min, const vector3d< T > &Max)
 obbox3d (const vector3d< T > &BoxCenter, const vector3d< T > &AxisX, const vector3d< T > &AxisY, const vector3d< T > &AxisZ)
 obbox3d (const obbox3d< T > &Other)
 ~obbox3d ()
void updateHalfSize ()
getVolume () const
bool isInversePointInside (const vector3d< T > &InvPoint) const
bool isPointInside (const vector3d< T > &Point) const
 Returns true if the specified point is inside the box.
bool isBoxInside (const obbox3d< T > &Other) const
 Returns true if the specifies box is inside this box.

Public Attributes

vector3d< T > Center
vector3d< vector3d< T > > Axis
vector3d< T > HalfSize

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


Constructor & Destructor Documentation

template<typename T>
sp::dim::obbox3d< T >::obbox3d (  )  [inline]
template<typename T>
sp::dim::obbox3d< T >::obbox3d ( const vector3d< T > &  Min,
const vector3d< T > &  Max 
) [inline]
template<typename T>
sp::dim::obbox3d< T >::obbox3d ( const vector3d< T > &  BoxCenter,
const vector3d< T > &  AxisX,
const vector3d< T > &  AxisY,
const vector3d< T > &  AxisZ 
) [inline]
template<typename T>
sp::dim::obbox3d< T >::obbox3d ( const obbox3d< T > &  Other  )  [inline]
template<typename T>
sp::dim::obbox3d< T >::~obbox3d (  )  [inline]

Member Function Documentation

template<typename T>
T sp::dim::obbox3d< T >::getVolume (  )  const [inline]
template<typename T >
bool sp::dim::obbox3d< T >::isBoxInside ( const obbox3d< T > &  Other  )  const [inline]

Returns true if the specifies box is inside this box.

template<typename T>
bool sp::dim::obbox3d< T >::isInversePointInside ( const vector3d< T > &  InvPoint  )  const [inline]

Checks if the specified point is inside the box.

Parameters:
[in] InvPoint Specifies the inverse point which must be transformed by the inverse matrix of this box.
Returns:
True if the specified inverse point is inside the box.
template<typename T >
bool sp::dim::obbox3d< T >::isPointInside ( const vector3d< T > &  Point  )  const [inline]

Returns true if the specified point is inside the box.

template<typename T>
void sp::dim::obbox3d< T >::updateHalfSize (  )  [inline]

Member Data Documentation

template<typename T>
vector3d< vector3d<T> > sp::dim::obbox3d< T >::Axis
template<typename T>
vector3d<T> sp::dim::obbox3d< T >::Center
template<typename T>
vector3d<T> sp::dim::obbox3d< T >::HalfSize

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