Marine systems simulation
CoRiBoDynamics::DataStructures::SpacePartitioner Class Reference

#include <DataStructures.h>

+ Collaboration diagram for CoRiBoDynamics::DataStructures::SpacePartitioner:

Classes

struct  SpatialIndex
 

Public Member Functions

void SetLength (double length)
 
LINKEDLISTInsertToMap (const GeometryTools::AABB &boundingVolume, int ID)
 
LINKEDLISTCheckMap (const GeometryTools::AABB &boundingVolume)
 
void Reset ()
 
void setOrigo (double x, double y, double z)
 

Protected Member Functions

SpatialIndex CoordinateToIndex (double d_x, double d_y, double d_z)
 

Protected Attributes

Sparse3DArray m_Array
 
DataStructures::RadixSparseSet m_CollisionTestSet
 
double m_lengthInv
 
double m_origoX
 
double m_origoY
 
double m_origoZ
 

Detailed Description

defines a sparse 3D grid space representation.

Does conceptual mapping from "grid-cell-size", "origo-offset", and "axis-aligned-bounding-box" to a Sparse3DArray


The documentation for this class was generated from the following file: