collision_checking::KDOP< N > Class Template Reference
KDOP class describes the KDOP collision structures. K is set as the template parameter, which should be 16, 18, or 24 The KDOP structure is defined by some pairs of parallel planes defined by some axes. For K = 18, the planes are 6 AABB planes and 12 diagonal planes that cut off some space of the edges: (-1,0,0) and (1,0,0) -> indices 0 and 9 (0,-1,0) and (0,1,0) -> indices 1 and 10 (0,0,-1) and (0,0,1) -> indices 2 and 11 (-1,-1,0) and (1,1,0) -> indices 3 and 12 (-1,0,-1) and (1,0,1) -> indices 4 and 13 (0,-1,-1) and (0,1,1) -> indices 5 and 14 (-1,1,0) and (1,-1,0) -> indices 6 and 15 (-1,0,1) and (1,0,-1) -> indices 7 and 16 (0,-1,1) and (0,1,-1) -> indices 8 and 17.
More...
#include <kDOP.h>
List of all members.
Detailed Description
template<size_t N>
class collision_checking::KDOP< N >
KDOP class describes the KDOP collision structures. K is set as the template parameter, which should be 16, 18, or 24 The KDOP structure is defined by some pairs of parallel planes defined by some axes. For K = 18, the planes are 6 AABB planes and 12 diagonal planes that cut off some space of the edges: (-1,0,0) and (1,0,0) -> indices 0 and 9 (0,-1,0) and (0,1,0) -> indices 1 and 10 (0,0,-1) and (0,0,1) -> indices 2 and 11 (-1,-1,0) and (1,1,0) -> indices 3 and 12 (-1,0,-1) and (1,0,1) -> indices 4 and 13 (0,-1,-1) and (0,1,1) -> indices 5 and 14 (-1,1,0) and (1,-1,0) -> indices 6 and 15 (-1,0,1) and (1,0,-1) -> indices 7 and 16 (0,-1,1) and (0,1,-1) -> indices 8 and 17.
Definition at line 127 of file kDOP.h.
Constructor & Destructor Documentation
Member Function Documentation
The distance between two KDOP<N> Not implemented.
Definition at line 278 of file kDOP.h.
Check whether one point is inside the KDOP.
Definition at line 185 of file kDOP.h.
Create a KDOP by mergin two KDOPs.
Definition at line 234 of file kDOP.h.
Merge two KDOPs.
Definition at line 223 of file kDOP.h.
Merge the point and the KDOP.
Definition at line 205 of file kDOP.h.
Check whether two KDOPs are overlapped.
Definition at line 173 of file kDOP.h.
Member Data Documentation
distances to N KDOP planes
Definition at line 286 of file kDOP.h.
The documentation for this class was generated from the following file: