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
82#ifndef USE_PATH_COMPRESSION
109#ifdef USE_PATH_COMPRESSION
112 x = elementPtr->
m_id;
#define SIMD_FORCE_INLINE
int size() const
return the number of elements in the array
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