spatial-indexing
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Spatial
Hash
Grid
Strategy
constructor
bound
cells
client
Grid
Range
dimensions
type
clear
find
get
Cell
Index
insert
key
remove
update
Type parameters
T =
any
Hierarchy
AbstractIndexingStrategy
SpatialHashGridStrategy
Implements
SpatialIndexingStrategy
Index
Constructors
constructor
Properties
bound
cells
client
Grid
Range
dimensions
type
Methods
clear
find
get
Cell
Index
insert
key
remove
update
Constructors
constructor
new
Spatial
Hash
Grid
Strategy<T>
(
__namedParameters
:
SpatialHashGridStrategyConfig
)
:
SpatialHashGridStrategy
<
T
>
Type parameters
T =
any
Parameters
__namedParameters:
SpatialHashGridStrategyConfig
Returns
SpatialHashGridStrategy
<
T
>
Properties
Readonly
bound
bound
:
Rect
<
any
>
Private
cells
cells
:
Map
<
string
,
Set
<
Rect
<
T
>
>
>
= ...
Private
client
Grid
Range
client
Grid
Range
:
Map
<
Rect
<
T
>
,
[
Point
,
Point
]
>
= ...
Readonly
dimensions
dimensions
:
Point
Readonly
type
type
:
string
= ...
Methods
clear
clear
(
)
:
void
Returns
void
find
find
(
item
:
Rect
<
any
>
)
:
Rect
<
T
>
[]
Parameters
item:
Rect
<
any
>
Returns
Rect
<
T
>
[]
Private
get
Cell
Index
get
Cell
Index
(
position
:
Point
)
:
Point
Parameters
position:
Point
Returns
Point
insert
insert
(
item
:
Rect
<
T
>
)
:
void
Parameters
item:
Rect
<
T
>
Returns
void
Private
key
key
(
indics
:
Point
)
:
string
Parameters
indics:
Point
Returns
string
remove
remove
(
item
:
Rect
<
T
>
)
:
void
Parameters
item:
Rect
<
T
>
Returns
void
update
update
(
item
:
Rect
<
any
>
)
:
void
Parameters
item:
Rect
<
any
>
Returns
void
Generated using
TypeDoc