@ue-too/dynamics / index / SpatialIndex
介面: SpatialIndex<T>
定義於: dynamic-tree.ts:15
Interface for spatial indexing data structures.
型別參數
T
T extends SpatialIndexObject
方法
clear()
clear():
void
定義於: dynamic-tree.ts:16
回傳
void
draw()?
optionaldraw(context):void
定義於: dynamic-tree.ts:19
參數
context
CanvasRenderingContext2D
回傳
void
insert()
insert(
object):void
定義於: dynamic-tree.ts:17
參數
object
T
回傳
void
retrieve()
retrieve(
object):T[]
定義於: dynamic-tree.ts:18
參數
object
T
回傳
T[]