Interface: Atom3DSpec
Defined in: src/mobjects/molecular/Molecule3D.ts:40
A single atom: an element symbol and its 3D position (before the world scale).
Properties
chain?
optionalchain:string
Defined in: src/mobjects/molecular/Molecule3D.ts:49
The chain identifier this atom belongs to, if known (from a PDB parse). Optional and ignored by rendering; it exists for selection and grouping.
charge?
optionalcharge:number
Defined in: src/mobjects/molecular/Molecule3D.ts:75
The partial charge of this atom (elementary charge units), if known.
Optional and ignored by rendering; a MolecularSurface uses it for
colorBy: 'charge' and colorBy: 'electrostatic'.
element
element:
string
Defined in: src/mobjects/molecular/Molecule3D.ts:42
Element symbol, any case (e.g. 'C', 'o', 'Cl').
occupancy?
optionaloccupancy:number
Defined in: src/mobjects/molecular/Molecule3D.ts:64
The occupancy, if known (from a PDB parse, cols 55-60). Optional and ignored by rendering; it exists for property-based coloring.
position
position:
Vector3Tuple
Defined in: src/mobjects/molecular/Molecule3D.ts:44
Position [x, y, z], in the molecule's own coordinates.
resName?
optionalresName:string
Defined in: src/mobjects/molecular/Molecule3D.ts:59
The residue name this atom belongs to, if known (3-letter, e.g. 'ALA'). Optional and ignored by rendering; it exists for selection and grouping.
resSeq?
optionalresSeq:number
Defined in: src/mobjects/molecular/Molecule3D.ts:54
The residue sequence number this atom belongs to, if known. Optional and ignored by rendering; it exists for selection and grouping.
tempFactor?
optionaltempFactor:number
Defined in: src/mobjects/molecular/Molecule3D.ts:69
The temperature factor (B-factor), if known (from a PDB parse, cols 61-66). Optional and ignored by rendering; it exists for property-based coloring.