|
| void | insert (T const &value) |
| |
| void | remove (T const &value) |
| |
| void | balance () |
| |
| bool | contains (T const &value) const |
| |
| bool | empty () const |
| |
| Node & | getGrid (int x, int y) |
| |
| template<typename RayCallback > |
| void | intersectRay (G3D::Ray const &ray, RayCallback &intersectCallback, float max_dist) |
| |
| template<typename RayCallback > |
| void | intersectRay (G3D::Ray const &ray, RayCallback &intersectCallback, float &max_dist, G3D::Vector3 const &end) |
| |
| template<typename IsectCallback > |
| void | intersectPoint (G3D::Vector3 const &point, IsectCallback &intersectCallback) |
| |
| template<typename RayCallback > |
| void | intersectZAllignedRay (G3D::Ray const &ray, RayCallback &intersectCallback, float &max_dist) |
| |
| std::span< T const *const > | getObjects (int x, int y) const |
| |
template<class T, class Node, class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
class RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >
Definition at line 39 of file RegularGrid.h.
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
template<typename IsectCallback >
| void RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::intersectPoint |
( |
G3D::Vector3 const & |
point, |
|
|
IsectCallback & |
intersectCallback |
|
) |
| |
|
inline |
Definition at line 195 of file RegularGrid.h.
References RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::isValid(), RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::x, and RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::y.
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
template<typename RayCallback >
| void RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::intersectRay |
( |
G3D::Ray const & |
ray, |
|
|
RayCallback & |
intersectCallback, |
|
|
float & |
max_dist, |
|
|
G3D::Vector3 const & |
end |
|
) |
| |
|
inline |
Definition at line 119 of file RegularGrid.h.
References CELL_SIZE, RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::isValid(), RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::x, and RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::y.
template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
template<typename RayCallback >
| void RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::intersectZAllignedRay |
( |
G3D::Ray const & |
ray, |
|
|
RayCallback & |
intersectCallback, |
|
|
float & |
max_dist |
|
) |
| |
|
inline |
Definition at line 206 of file RegularGrid.h.
References RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::isValid(), RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::x, and RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::y.