ChemPal Documentation - v1.12.0
    Preparing search index...

    Interface MoleculeBond

    A single bond from an SDF bond block, with zero-based atom indices (the record itself is one-based).

    export interface MoleculeBond {
    /** Index into {@link Molecule.atoms} of the first atom. */
    from: number;
    /** Index into {@link Molecule.atoms} of the second atom. */
    to: number;
    /** Bond order: 1 single, 2 double, 3 triple, 4 aromatic. */
    order: number;
    }
    interface MoleculeBond {
        from: number;
        to: number;
        order: number;
    }
    Index

    Properties

    Properties

    from: number

    Index into Molecule.atoms of the first atom.

    to: number

    Index into Molecule.atoms of the second atom.

    order: number

    Bond order: 1 single, 2 double, 3 triple, 4 aromatic.