dchip.cpSpaceHash

Undocumented in source.

Members

Functions

Klass
cpSpatialIndexClass* Klass()
Undocumented in source. Be warned that the author may not have intended to support it.
_initModuleCtor_cpSpaceHash
void _initModuleCtor_cpSpaceHash()
Undocumented in source. Be warned that the author may not have intended to support it.
clearTable
void clearTable(cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
clearTableCell
void clearTableCell(cpSpaceHash* hash, int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
containsHandle
cpBool containsHandle(cpSpaceHashBin* bin, cpHandle* hand)
Undocumented in source. Be warned that the author may not have intended to support it.
cpHandleInit
cpHandle* cpHandleInit(cpHandle* hand, void* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
cpHandleRelease
void cpHandleRelease(cpHandle* hand, cpArray* pooledHandles)
Undocumented in source. Be warned that the author may not have intended to support it.
cpHandleRetain
void cpHandleRetain(cpHandle* hand)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashAlloc
cpSpaceHash* cpSpaceHashAlloc()
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashAllocTable
void cpSpaceHashAllocTable(cpSpaceHash* hash, int numcells)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashContains
int cpSpaceHashContains(cpSpaceHash* hash, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashCount
int cpSpaceHashCount(cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashDestroy
void cpSpaceHashDestroy(cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashEach
void cpSpaceHashEach(cpSpaceHash* hash, cpSpatialIndexIteratorFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashInit
cpSpatialIndex* cpSpaceHashInit(cpSpaceHash* hash, cpFloat celldim, int numcells, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashInsert
void cpSpaceHashInsert(cpSpaceHash* hash, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashNew
cpSpatialIndex* cpSpaceHashNew(cpFloat celldim, int cells, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashQuery
void cpSpaceHashQuery(cpSpaceHash* hash, void* obj, cpBB bb, cpSpatialIndexQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashRehash
void cpSpaceHashRehash(cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashRehashObject
void cpSpaceHashRehashObject(cpSpaceHash* hash, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashReindexQuery
void cpSpaceHashReindexQuery(cpSpaceHash* hash, cpSpatialIndexQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashRemove
void cpSpaceHashRemove(cpSpaceHash* hash, void* obj, cpHashValue hashid)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashResize
void cpSpaceHashResize(cpSpaceHash* hash, cpFloat celldim, int numcells)
Undocumented in source. Be warned that the author may not have intended to support it.
cpSpaceHashSegmentQuery
void cpSpaceHashSegmentQuery(cpSpaceHash* hash, 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.
eachHelper
void eachHelper(cpHandle* hand, eachContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
floor_int
int floor_int(cpFloat f)
Undocumented in source. Be warned that the author may not have intended to support it.
getEmptyBin
cpSpaceHashBin* getEmptyBin(cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
handleSetEql
int handleSetEql(void* obj, cpHandle* hand)
Undocumented in source. Be warned that the author may not have intended to support it.
handleSetTrans
void* handleSetTrans(void* obj, cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
hashHandle
void hashHandle(cpSpaceHash* hash, cpHandle* hand, cpBB bb)
Undocumented in source. Be warned that the author may not have intended to support it.
hash_func
cpHashValue hash_func(cpHashValue x, cpHashValue y, cpHashValue n)
Undocumented in source. Be warned that the author may not have intended to support it.
queryRehash_helper
void queryRehash_helper(cpHandle* hand, queryRehashContext* context)
Undocumented in source. Be warned that the author may not have intended to support it.
query_helper
void query_helper(cpSpaceHash* hash, cpSpaceHashBin** bin_ptr, void* obj, cpSpatialIndexQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
recycleBin
void recycleBin(cpSpaceHash* hash, cpSpaceHashBin* bin)
Undocumented in source. Be warned that the author may not have intended to support it.
rehash_helper
void rehash_helper(cpHandle* hand, cpSpaceHash* hash)
Undocumented in source. Be warned that the author may not have intended to support it.
remove_orphaned_handles
void remove_orphaned_handles(cpSpaceHash* hash, cpSpaceHashBin** bin_ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
segmentQuery_helper
cpFloat segmentQuery_helper(cpSpaceHash* hash, cpSpaceHashBin** bin_ptr, void* obj, cpSpatialIndexSegmentQueryFunc func, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

klass
cpSpatialIndexClass klass;
Undocumented in source.

Structs

cpHandle
struct cpHandle
Undocumented in source.
cpSpaceHash
struct cpSpaceHash
Undocumented in source.
cpSpaceHashBin
struct cpSpaceHashBin
Undocumented in source.
eachContext
struct eachContext
Undocumented in source.
queryRehashContext
struct queryRehashContext
Undocumented in source.

Meta