coal 3.0.2
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
hierarchy_tree.h File Reference
#include <vector>
#include <map>
#include <functional>
#include <iostream>
#include "coal/warning.hh"
#include "coal/BV/AABB.h"
#include "coal/broadphase/detail/morton.h"
#include "coal/broadphase/detail/node_base.h"
#include "coal/broadphase/detail/hierarchy_tree-inl.h"

Go to the source code of this file.

Classes

class  coal::detail::HierarchyTree< BV >
 Class for hierarchy tree structure. More...

Namespaces

namespace  coal
 Main namespace.
namespace  coal::detail

Functions

template<typename BV>
bool coal::detail::nodeBaseLess (NodeBase< BV > *a, NodeBase< BV > *b, int d)
 Compare two nodes accoording to the d-th dimension of node center.
template<typename BV>
size_t coal::detail::select (const NodeBase< BV > &query, const NodeBase< BV > &node1, const NodeBase< BV > &node2)
 select from node1 and node2 which is close to a given query. 0 for node1 and 1 for node2
template<typename BV>
size_t coal::detail::select (const BV &query, const NodeBase< BV > &node1, const NodeBase< BV > &node2)
 select from node1 and node2 which is close to a given query bounding volume. 0 for node1 and 1 for node2