Search
Preparing search index...
The search index is not available
ngl
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
SpatialHash
Class SpatialHash
Hierarchy
SpatialHash
Index
Constructors
constructor
Properties
boundX
boundY
boundZ
bucket
Array
bucket
Count
bucket
Offset
exp
grid
minX
minY
minZ
x
Array
y
Array
z
Array
Methods
each
Within
within
Constructors
constructor
new
Spatial
Hash
(
positions
:
Positions
, boundingBox
?:
Box3
)
:
SpatialHash
Parameters
positions:
Positions
Optional
boundingBox:
Box3
Returns
SpatialHash
Properties
boundX
boundX
:
number
boundY
boundY
:
number
boundZ
boundZ
:
number
bucket
Array
bucket
Array
:
Int32Array
bucket
Count
bucket
Count
:
Uint16Array
bucket
Offset
bucket
Offset
:
Uint32Array
exp
exp
:
number
= 3
grid
grid
:
Uint32Array
minX
minX
:
number
minY
minY
:
number
minZ
minZ
:
number
x
Array
x
Array
:
ArrayLike
<
number
>
y
Array
y
Array
:
ArrayLike
<
number
>
z
Array
z
Array
:
ArrayLike
<
number
>
Methods
each
Within
each
Within
(
x
:
number
, y
:
number
, z
:
number
, r
:
number
, callback
:
(
atomIndex
:
number
, dSq
:
number
)
=>
void
)
:
void
Parameters
x:
number
y:
number
z:
number
r:
number
callback:
(
atomIndex
:
number
, dSq
:
number
)
=>
void
(
atomIndex
:
number
, dSq
:
number
)
:
void
Parameters
atomIndex:
number
dSq:
number
Returns
void
Returns
void
within
within
(
x
:
number
, y
:
number
, z
:
number
, r
:
number
)
:
number
[]
Parameters
x:
number
y:
number
z:
number
r:
number
Returns
number
[]
Globals
Spatial
Hash
constructor
boundX
boundY
boundZ
bucket
Array
bucket
Count
bucket
Offset
exp
grid
minX
minY
minZ
x
Array
y
Array
z
Array
each
Within
within
Generated using
TypeDoc