new BBTree(staticIndex)
- Source:
Parameters:
Extends
Methods
collideStatic(staticIndex, func)
- Source:
- Inherited From:
Collide the objects in an index against the objects in a staticIndex using the query callback function.
Parameters:
contains(obj, hashid) → {boolean}
- Source:
Parameters:
Name |
Type |
Description |
obj |
|
|
hashid |
number
|
|
Returns:
-
Type
-
boolean
count() → {number}
- Source:
Returns:
-
Type
-
number
each(func)
- Source:
Parameters:
Name |
Type |
Description |
func |
function
|
|
getBB(obj, dest)
- Source:
Parameters:
Name |
Type |
Description |
obj |
Node
|
|
dest |
Leaf
|
|
getStamp() → {number}
- Source:
Returns:
-
Type
-
number
incrementStamp()
- Source:
insert(obj, hashid)
- Source:
Parameters:
Name |
Type |
Description |
obj |
Node
|
|
hashid |
number
|
|
log()
- Source:
makeNode(a, b) → {Node}
- Source:
Parameters:
Returns:
-
Type
-
Node
makePair(leafA, nextA, leafB, nextB) → {Pair}
- Source:
Parameters:
Returns:
-
Type
-
Pair
optimize()
- Source:
pointQuery(point, func)
- Source:
Parameters:
Name |
Type |
Description |
point |
cp.Vect
|
|
func |
function
|
|
query(bb, func)
- Source:
Parameters:
Name |
Type |
Description |
bb |
Node
|
|
func |
function
|
|
reindex()
- Source:
reindexObject(obj, hashid)
- Source:
Parameters:
Name |
Type |
Description |
obj |
|
|
hashid |
number
|
|
reindexQuery(func)
- Source:
Parameters:
Name |
Type |
Description |
func |
function
|
|
remove(obj, hashid)
- Source:
Parameters:
Name |
Type |
Description |
obj |
|
|
hashid |
number
|
|
segmentQuery(a, b, t_exit, func)
- Source:
Parameters:
subtreeRecycle(node)
- Source:
Parameters:
Name |
Type |
Description |
node |
Node
|
|