#include <IceOBB.h>
void OBB::ComputeLSS | ( | LSS & | lss | ) | const |
bool OBB::ComputePlanes | ( | Plane * | planes | ) | const |
Computes the obb planes.
planes | [out] 6 box planes |
bool OBB::ComputePoints | ( | Point * | pts | ) | const |
Computes the obb points.
pts | [out] 8 box points |
bool OBB::ComputeVertexNormals | ( | Point * | pts | ) | const |
Computes vertex normals.
pts | [out] 8 box points |
void OBB::ComputeWorldEdgeNormal | ( | udword | edge_index, |
Point & | world_normal | ||
) | const |
Returns world edge normal
edge_index | [in] 0 <= edge index < 12 |
world_normal | [out] edge normal in world space |
bool OBB::ContainsPoint | ( | const Point & | p | ) | const |
const udword* OBB::GetEdges | ( | ) | const |
Returns edges.
const Point* OBB::GetLocalEdgeNormals | ( | ) | const |
Returns local edge normals.
inline_ void OBB::GetRotatedExtents | ( | Matrix3x3 & | extents | ) | const [inline] |
BOOL OBB::IsInside | ( | const OBB & | box | ) | const |
inline_ BOOL OBB::IsValid | ( | ) | const [inline] |
void OBB::SetEmpty | ( | ) | [inline] |