Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Unitcell

Unitcell class

Hierarchy

  • Unitcell

Index

Constructors

constructor

Properties

a

a: number

alpha

alpha: number

b

b: number

beta

beta: number

c

c: number

cartToFrac

cartToFrac: Matrix4 = new Matrix4()

fracToCart

fracToCart: Matrix4 = new Matrix4()

gamma

gamma: number

spacegroup

spacegroup: string

volume

volume: number

Methods

getCenter

getData

  • Parameters

    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

getPosition

  • getPosition(structure: Structure): Float32Array

Generated using TypeDoc