Get the index of an atom in a molecule. Acces the index of an atom in the context of an IAtomContainer. Indexing starts from 0. If the index is not known, -1 is returned.
Get the index of an atom in a molecule.
Acces the index of an atom in the context of an IAtomContainer. Indexing starts from 0. If the index is not known, -1 is returned.
get.atom.index(atom, mol)
atom |
The atom object |
mol |
The 'IAtomContainer' object containing the atom |
An integer representing the atom index.
Rajarshi Guha (rajarshi.guha@gmail.com)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.