16#ifndef BT_UNION_FIND_H
17#define BT_UNION_FIND_H
21#define USE_PATH_COMPRESSION 1
24#define STATIC_SIMULATION_ISLAND_OPTIMIZATION 1
87#ifndef USE_PATH_COMPRESSION
111 #ifdef USE_PATH_COMPRESSION
114 x = elementPtr->
m_id;
#define SIMD_FORCE_INLINE
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
UnionFind calculates connected subsets.
int getNumElements() const
btElement & getElement(int index)
void sortIslands()
this is a special operation, destroying the content of btUnionFind.
btAlignedObjectArray< btElement > m_elements
const btElement & getElement(int index) const