Search
Preparing search index...
The search index is not available
ngl
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Unitcell
Class Unitcell
Unitcell class
Hierarchy
Unitcell
Index
Constructors
constructor
Properties
a
alpha
b
beta
c
cart
ToFrac
frac
ToCart
gamma
spacegroup
volume
Methods
get
Center
get
Data
get
Position
Constructors
constructor
new
Unitcell
(
params
?:
UnitcellParams
)
:
Unitcell
Parameters
Default value
params:
UnitcellParams
= DefaultBoxParams
unitcell parameters
Returns
Unitcell
Properties
a
a
:
number
alpha
alpha
:
number
b
b
:
number
beta
beta
:
number
c
c
:
number
cart
ToFrac
cart
ToFrac
:
Matrix4
= new Matrix4()
frac
ToCart
frac
ToCart
:
Matrix4
= new Matrix4()
gamma
gamma
:
number
spacegroup
spacegroup
:
string
volume
volume
:
number
Methods
get
Center
get
Center
(
structure
:
Structure
)
:
Vector3
Parameters
structure:
Structure
Returns
Vector3
get
Data
get
Data
(
structure
:
Structure
, params
?:
UnitcellDataParams
)
:
{
edge
:
object
;
vertex
:
object
}
Parameters
structure:
Structure
Default value
params:
UnitcellDataParams
= {}
Returns
{
edge
:
object
;
vertex
:
object
}
edge
:
object
color
:
Uint8Array
|
Int8Array
|
Int16Array
|
Int32Array
|
Uint16Array
|
Uint32Array
|
Float32Array
|
Uint8ClampedArray
|
Float64Array
|
number
[]
color2
:
Uint8Array
|
Int8Array
|
Int16Array
|
Int32Array
|
Uint16Array
|
Uint32Array
|
Float32Array
|
Uint8ClampedArray
|
Float64Array
|
number
[]
picking
:
UnitcellPicker
position1
:
Float32Array
position2
:
Float32Array
radius
:
Float32Array
vertex
:
object
color
:
Uint8Array
|
Int8Array
|
Int16Array
|
Int32Array
|
Uint16Array
|
Uint32Array
|
Float32Array
|
Uint8ClampedArray
|
Float64Array
|
number
[]
picking
:
UnitcellPicker
position
:
Float32Array
radius
:
Float32Array
get
Position
get
Position
(
structure
:
Structure
)
:
Float32Array
Parameters
structure:
Structure
Returns
Float32Array
Globals
Unitcell
constructor
a
alpha
b
beta
c
cart
ToFrac
frac
ToCart
gamma
spacegroup
volume
get
Center
get
Data
get
Position
Generated using
TypeDoc
Unitcell class