Enumerations | Functions
bvgl_intersection_helpers Namespace Reference

Enumerations

enum  Axes { X = 0, Y = 1, Z = 2 }

Functions

template<typename T >
void cross (T dest[3], T a[3], T b[3])
template<typename T >
dot (T a[3], T b[3])
template<typename T >
void subtract (T dest[3], T a[3], T b[3])
template<typename T >
void findMinMax (T x0, T x1, T x2, T &min, T &max)
template<typename T >
bool planeBoxIntersect (T normal[3], T d, T maxbox[3])
template<int Axis0, int Axis1, typename T >
bool axisTest (T edge[3], T fedge[3], T v0[3], T v1[3], T boxhalfsize[3])

Enumeration Type Documentation

Enumerator:
X 
Y 
Z 

Definition at line 22 of file bvgl_intersection.txx.


Function Documentation

template<int Axis0, int Axis1, typename T >
bool bvgl_intersection_helpers::axisTest ( edge[3],
fedge[3],
v0[3],
v1[3],
boxhalfsize[3] 
) [inline]

Definition at line 68 of file bvgl_intersection.txx.

template<typename T >
void bvgl_intersection_helpers::cross ( dest[3],
a[3],
b[3] 
) [inline]

Definition at line 25 of file bvgl_intersection.txx.

template<typename T >
T bvgl_intersection_helpers::dot ( a[3],
b[3] 
) [inline]

Definition at line 32 of file bvgl_intersection.txx.

template<typename T >
void bvgl_intersection_helpers::findMinMax ( x0,
x1,
x2,
T &  min,
T &  max 
) [inline]

Definition at line 42 of file bvgl_intersection.txx.

template<typename T >
bool bvgl_intersection_helpers::planeBoxIntersect ( normal[3],
d,
maxbox[3] 
)

Definition at line 51 of file bvgl_intersection.txx.

template<typename T >
void bvgl_intersection_helpers::subtract ( dest[3],
a[3],
b[3] 
) [inline]

Definition at line 35 of file bvgl_intersection.txx.