dchip.cpBBTree

Undocumented in source.

Members

Functions

A
ref A(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
B
ref B(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
GetBB
cpBB GetBB(cpBBTree* tree, void* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
GetMasterTree
cpBBTree* GetMasterTree(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
GetRootIfTree
Node* GetRootIfTree(cpSpatialIndex* index)
Undocumented in source. Be warned that the author may not have intended to support it.
GetTree
cpBBTree* GetTree(cpSpatialIndex* index)
Undocumented in source. Be warned that the author may not have intended to support it.
IncrementStamp
void IncrementStamp(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
Klass
cpSpatialIndexClass* Klass()
Undocumented in source. Be warned that the author may not have intended to support it.
LeafAddPairs
void LeafAddPairs(Node* leaf, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
LeafNew
Node* LeafNew(cpBBTree* tree, void* obj, cpBB bb)
Undocumented in source. Be warned that the author may not have intended to support it.
LeafUpdate
cpBool LeafUpdate(Node* leaf, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
LeafUpdateWrap
void LeafUpdateWrap(void* elt, void* data)

Workaround for https://github.com/slembcke/Chipmunk2D/issues/56.

MarkLeaf
void MarkLeaf(Node* leaf, MarkContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
MarkLeafQuery
void MarkLeafQuery(Node* subtree, Node* leaf, cpBool left, MarkContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
MarkSubtree
void MarkSubtree(Node* subtree, MarkContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeFromPool
Node* NodeFromPool(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeIsLeaf
cpBool NodeIsLeaf(Node* node)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeNew
Node* NodeNew(cpBBTree* tree, Node* a, Node* b)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeOther
Node* NodeOther(Node* node, Node* child)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeRecycle
void NodeRecycle(cpBBTree* tree, Node* node)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeReplaceChild
void NodeReplaceChild(Node* parent, Node* child, Node* value, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeSetA
void NodeSetA(Node* node, Node* value)
Undocumented in source. Be warned that the author may not have intended to support it.
NodeSetB
void NodeSetB(Node* node, Node* value)
Undocumented in source. Be warned that the author may not have intended to support it.
PAIRS
ref PAIRS(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
PairFromPool
Pair* PairFromPool(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
PairInsert
void PairInsert(Node* a, Node* b, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
PairRecycle
void PairRecycle(cpBBTree* tree, Pair* pair)
Undocumented in source. Be warned that the author may not have intended to support it.
PairsClear
void PairsClear(Node* leaf, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
STAMP
ref STAMP(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
SubtreeInsert
Node* SubtreeInsert(Node* subtree, Node* leaf, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
SubtreeQuery
void SubtreeQuery(Node* subtree, void* obj, cpBB bb, cpSpatialIndexQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
SubtreeRecycle
void SubtreeRecycle(cpBBTree* tree, Node* node)
Undocumented in source. Be warned that the author may not have intended to support it.
SubtreeRemove
Node* SubtreeRemove(Node* subtree, Node* leaf, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
SubtreeSegmentQuery
cpFloat SubtreeSegmentQuery(Node* subtree, void* obj, cpVect a, cpVect b, cpFloat t_exit, cpSpatialIndexSegmentQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
ThreadUnlink
void ThreadUnlink(Thread thread)
Undocumented in source. Be warned that the author may not have intended to support it.
VoidQueryFunc
cpCollisionID VoidQueryFunc(void* obj1, void* obj2, cpCollisionID id, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
_initModuleCtor_cpBBTree
void _initModuleCtor_cpBBTree()
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBProximity
cpFloat cpBBProximity(cpBB a, cpBB b)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeAlloc
cpBBTree* cpBBTreeAlloc()
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeContains
cpBool cpBBTreeContains(cpBBTree* tree, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeCount
int cpBBTreeCount(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeDestroy
void cpBBTreeDestroy(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeEach
void cpBBTreeEach(cpBBTree* tree, cpSpatialIndexIteratorFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeInit
cpSpatialIndex* cpBBTreeInit(cpBBTree* tree, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeInsert
void cpBBTreeInsert(cpBBTree* tree, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeNew
cpSpatialIndex* cpBBTreeNew(cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeOptimize
void cpBBTreeOptimize(cpSpatialIndex* index)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeQuery
void cpBBTreeQuery(cpBBTree* tree, void* obj, cpBB bb, cpSpatialIndexQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeReindex
void cpBBTreeReindex(cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeReindexObject
void cpBBTreeReindexObject(cpBBTree* tree, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeReindexQuery
void cpBBTreeReindexQuery(cpBBTree* tree, cpSpatialIndexQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeRemove
void cpBBTreeRemove(cpBBTree* tree, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeSegmentQuery
void cpBBTreeSegmentQuery(cpBBTree* tree, void* obj, cpVect a, cpVect b, cpFloat t_exit, cpSpatialIndexSegmentQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpBBTreeSetVelocityFunc
void cpBBTreeSetVelocityFunc(cpSpatialIndex* index, cpBBTreeVelocityFunc func)
Undocumented in source. Be warned that the author may not have intended to support it.
cpfcompare
int cpfcompare(cpFloat* a, cpFloat* b)
Undocumented in source. Be warned that the author may not have intended to support it.
each_helper
void each_helper(Node* node, eachContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
fillNodeArray
void fillNodeArray(Node* node, Node*** cursor)
Undocumented in source. Be warned that the author may not have intended to support it.
leafSetEql
bool leafSetEql(void* obj, Node* node)
Undocumented in source. Be warned that the author may not have intended to support it.
leafSetTrans
void* leafSetTrans(void* obj, cpBBTree* tree)
Undocumented in source. Be warned that the author may not have intended to support it.
partitionNodes
Node* partitionNodes(cpBBTree* tree, Node** nodes, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

klass
cpSpatialIndexClass klass;
Undocumented in source.

Structs

MarkContext
struct MarkContext
Undocumented in source.
Node
struct Node
Undocumented in source.
Pair
struct Pair
Undocumented in source.
Thread
struct Thread
Undocumented in source.
cpBBTree
struct cpBBTree
Undocumented in source.
eachContext
struct eachContext
Undocumented in source.

Meta