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
const T & btMax(const T &a, const T &b)
#define SIMD_FORCE_INLINE
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
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