#include <spDimensionOBB.hpp>
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 () |
T | 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 |
sp::dim::obbox3d< T >::obbox3d | ( | ) | [inline] |
sp::dim::obbox3d< T >::obbox3d | ( | const vector3d< T > & | Min, | |
const vector3d< T > & | Max | |||
) | [inline] |
sp::dim::obbox3d< T >::obbox3d | ( | const vector3d< T > & | BoxCenter, | |
const vector3d< T > & | AxisX, | |||
const vector3d< T > & | AxisY, | |||
const vector3d< T > & | AxisZ | |||
) | [inline] |
sp::dim::obbox3d< T >::obbox3d | ( | const obbox3d< T > & | Other | ) | [inline] |
sp::dim::obbox3d< T >::~obbox3d | ( | ) | [inline] |
T sp::dim::obbox3d< T >::getVolume | ( | ) | const [inline] |
bool sp::dim::obbox3d< T >::isBoxInside | ( | const obbox3d< T > & | Other | ) | const [inline] |
Returns true if the specifies box is inside this box.
bool sp::dim::obbox3d< T >::isInversePointInside | ( | const vector3d< T > & | InvPoint | ) | const [inline] |
Checks if the specified point is inside the box.
[in] | InvPoint | Specifies the inverse point which must be transformed by the inverse matrix of this box. |
bool sp::dim::obbox3d< T >::isPointInside | ( | const vector3d< T > & | Point | ) | const [inline] |
Returns true if the specified point is inside the box.
void sp::dim::obbox3d< T >::updateHalfSize | ( | ) | [inline] |
vector3d< vector3d<T> > sp::dim::obbox3d< T >::Axis |
vector3d<T> sp::dim::obbox3d< T >::Center |
vector3d<T> sp::dim::obbox3d< T >::HalfSize |