Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
models/data-structures/grid-accessor/holders-3d/abstract-grid3-holder
AbstractGrid3Holder
Class AbstractGrid3Holder<T>
Type parameters
T
Hierarchy
AbstractGrid3Holder
Implements
Grid3Holder
<
T
>
Index
Constructors
constructor
Properties
length
Methods
clear
fill
for
Each
get
get
Property
mirror
rotateCCW
rotateCW
set
set
Holder
swap
transform
Constructors
constructor
new
Abstract
Grid3
Holder<T>
(
)
:
AbstractGrid3Holder
<
T
>
Type parameters
T
Returns
AbstractGrid3Holder
<
T
>
Properties
Readonly
Abstract
length
length
:
number
Methods
Abstract
clear
clear
(
)
:
void
Returns
void
Abstract
fill
fill<R>
(
value
:
R
|
(
(
x
:
number
, y
:
number
, z
:
number
)
=>
R
)
)
:
void
Fill all holder with value or with result of callback value
Type parameters
R
:
Record
<
string
|
number
,
unknown
>
Parameters
value:
R
|
(
(
x
:
number
, y
:
number
, z
:
number
)
=>
R
)
Returns
void
Abstract
for
Each
for
Each
(
callback
:
(
block
:
T
, x
:
number
, y
:
number
, z
:
number
)
=>
unknown
)
:
boolean
Parameters
callback:
(
block
:
T
, x
:
number
, y
:
number
, z
:
number
)
=>
unknown
(
block
:
T
, x
:
number
, y
:
number
, z
:
number
)
:
unknown
Parameters
block:
T
x:
number
y:
number
z:
number
Returns
unknown
Returns
boolean
Abstract
get
get
(
x
:
number
, y
:
number
, z
:
number
)
:
T
Parameters
x:
number
y:
number
z:
number
Returns
T
get
Property
get
Property<S>
(
x
:
number
, y
:
number
, z
:
number
, key
:
S
)
:
undefined
|
T
[
S
]
Type parameters
S
:
string
|
number
|
symbol
Parameters
x:
number
y:
number
z:
number
key:
S
Returns
undefined
|
T
[
S
]
Abstract
mirror
mirror
(
orientation
:
"XY"
|
"XZ"
|
"YZ"
)
:
void
Parameters
orientation:
"XY"
|
"XZ"
|
"YZ"
Returns
void
Abstract
rotateCCW
rotateCCW
(
)
:
void
Returns
void
Abstract
rotateCW
rotateCW
(
)
:
void
Returns
void
Abstract
set
set
(
x
:
number
, y
:
number
, z
:
number
, value
:
T
)
:
void
Parameters
x:
number
y:
number
z:
number
value:
T
Returns
void
Abstract
set
Holder
set
Holder
(
holder
:
Grid3Holder
<
T
>
)
:
void
Parameters
holder:
Grid3Holder
<
T
>
Returns
void
Abstract
swap
swap
(
ax
:
number
, ay
:
number
, az
:
number
, bx
:
number
, by
:
number
, bz
:
number
)
:
void
Parameters
ax:
number
ay:
number
az:
number
bx:
number
by:
number
bz:
number
Returns
void
Abstract
transform
transform
(
x
:
number
, y
:
number
, z
:
number
, transformer
:
(
value
:
T
)
=>
T
)
:
void
Parameters
x:
number
y:
number
z:
number
transformer:
(
value
:
T
)
=>
T
(
value
:
T
)
:
T
Parameters
value:
T
Returns
T
Returns
void
Modules
models/data-
structures/grid-
accessor/holders-
3d/abstract-
grid3-
holder
Abstract
Grid3
Holder
constructor
length
clear
fill
for
Each
get
get
Property
mirror
rotateCCW
rotateCW
set
set
Holder
swap
transform
Generated using
TypeDoc
Fill all holder with value or with result of callback value