Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BondProxy

Bond proxy

Hierarchy

  • BondProxy

Index

Constructors

constructor

Properties

Private _ap1

_ap1: AtomProxy

Private _ap2

_ap2: AtomProxy

Private _ap3

_ap3: AtomProxy

Private _v12

_v12: Vector3

Private _v13

_v13: Vector3

bondStore

bondStore: BondStore

index

index: number

structure

structure: Structure

the structure

Accessors

atom1

atom2

atomIndex1

  • get atomIndex1(): number
  • set atomIndex1(value: number): void

atomIndex2

  • get atomIndex2(): number
  • set atomIndex2(value: number): void

bondOrder

  • get bondOrder(): number
  • set bondOrder(value: number): void

Methods

calculateShiftDir

  • calculateShiftDir(v?: Vector3): Vector3
  • calculate shift direction for displaying double/triple bonds

    Parameters

    • Default value v: Vector3 = new Vector3()

    Returns Vector3

    the shift direction vector

clone

getOtherAtom

getOtherAtomIndex

  • getOtherAtomIndex(atomIndex: number): number

getReferenceAtomIndex

  • getReferenceAtomIndex(): undefined | number
  • Get reference atom index for the bond

    Returns undefined | number

    atom index, or undefined if unavailable

qualifiedName

  • qualifiedName(): string

toObject

  • toObject(): object

Generated using TypeDoc