UNPKG

molstar

Version:

A comprehensive macromolecular library.

15 lines (14 loc) 902 B
/** * Copyright (c) 2018-2019 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { Model, ResidueIndex, ElementIndex } from './model'; import { MoleculeType, AtomRole, PolymerType } from './model/types'; import { Unit } from './structure'; import { NumberArray } from '../../mol-util/type-helpers'; export declare function getCoarseBegCompId(unit: Unit.Spheres | Unit.Gaussians, element: ElementIndex): string; export declare function getElementMoleculeType(unit: Unit, element: ElementIndex): MoleculeType; export declare function getAtomicMoleculeType(model: Model, rI: ResidueIndex): MoleculeType; export declare function getAtomIdForAtomRole(polymerType: PolymerType, atomRole: AtomRole): Set<string>; export declare function getPositions(unit: Unit, indices: ArrayLike<number>): NumberArray;