Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AtomStore

Atom store

Hierarchy

Indexable

[k: string]: any

Atom store

Index

Constructors

constructor

Properties

_fields

_fields: StoreField[]

altloc

altloc: Uint8Array

atomTypeId

atomTypeId: Uint16Array

bfactor

bfactor: Float32Array

count

count: number

Optional formalCharge

formalCharge: Uint8Array

length

length: number

occupancy

occupancy: Float32Array

Optional partialCharge

partialCharge: Float32Array

residueIndex

residueIndex: Uint32Array

serial

serial: Int32Array

x

x: Float32Array

y

y: Float32Array

z

z: Float32Array

Accessors

_defaultFields

  • get _defaultFields(): Object[]

Methods

_init

  • _init(size: number): void

_initField

addField

clear

  • clear(): void

copyFrom

  • copyFrom(other: Store, thisOffset: number, otherOffset: number, length: number): void
  • Copy data from one store to another

    Parameters

    • other: Store

      store to copy from

    • thisOffset: number

      offset to start copying to

    • otherOffset: number

      offset to start copying from

    • length: number

      number of entries to copy

    Returns void

copyWithin

  • copyWithin(offsetTarget: number, offsetSource: number, length: number): void
  • Copy data within this store

    Parameters

    • offsetTarget: number
    • offsetSource: number
    • length: number

      number of entries to copy

    Returns void

dispose

  • dispose(): void

getAltloc

  • getAltloc(i: number): string

growIfFull

  • growIfFull(): void

resize

  • resize(size?: undefined | number): void
  • Resize the store to the new size

    Parameters

    • Optional size: undefined | number

      new size

    Returns void

setAltloc

  • setAltloc(i: number, str: string): void

sort

  • sort(compareFunction: function): void
  • Sort entries in the store given the compare function

    Parameters

    • compareFunction: function

      function to sort by

        • (a: any, b: any): number
        • Parameters

          • a: any
          • b: any

          Returns number

    Returns void

Generated using TypeDoc