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
coal::detail::implementation_array Namespace Reference

Classes

class  HierarchyTree
 Class for hierarchy tree structure. More...
struct  NodeBase
struct  nodeBaseLess
 Functor comparing two nodes. More...
struct  SelectImpl
struct  SelectImpl< S, AABB >

Functions

template<typename BV>
size_t select (size_t query, size_t node1, size_t node2, NodeBase< BV > *nodes)
 select the node from node1 and node2 which is close to the query-th node in the nodes. 0 for node1 and 1 for node2.
template<typename BV>
size_t select (const BV &query, size_t node1, size_t node2, NodeBase< BV > *nodes)
 select the node from node1 and node2 which is close to the query AABB. 0 for node1 and 1 for node2.

Variables

template<typename BV>
const size_t HierarchyTree< BV >::NULL_NODE

Function Documentation

◆ select() [1/2]

template<typename BV>
size_t coal::detail::implementation_array::select(const BV &query,
size_tnode1,
size_tnode2,
NodeBase< BV > *nodes )

select the node from node1 and node2 which is close to the query AABB. 0 for node1 and 1 for node2.

◆ select() [2/2]

template<typename BV>
size_t coal::detail::implementation_array::select(size_tquery,
size_tnode1,
size_tnode2,
NodeBase< BV > *nodes )

select the node from node1 and node2 which is close to the query-th node in the nodes. 0 for node1 and 1 for node2.

Variable Documentation

◆ HierarchyTree< BV >::NULL_NODE

template<typename BV>
const size_t coal::detail::implementation_array::HierarchyTree< BV >::NULL_NODE