Logo Search packages:      
Sourcecode: blender version File versions  Download package

btUnionFind Class Reference

#include <btUnionFind.h>

List of all members.

Detailed Description

UnionFind calculates connected subsets.

Definition at line 32 of file btUnionFind.h.

Public Member Functions

void allocate (int N)
int find (int x)
int find (int p, int q)
void Free ()
const btElement & getElement (int index) const
btElement & getElement (int index)
int getNumElements () const
bool isRoot (int x) const
void reset (int N)
void sortIslands ()
void unite (int p, int q)

Private Attributes

btAlignedObjectArray< btElement > m_elements

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index