Logo Search packages:      
Sourcecode: cdk version File versions  Download package

String org::openscience::cdk::layout::AtomPlacer::listNumbers ( IAtomContainer  mol,
IAtomContainer  ac 
) throws CDKException [inline]

Returns a string with the numbers of all atoms in an AtomContainer relative to a given molecule. I.e. the number the is listesd is the position of each atom in the molecule.

acThe AtomContainer for which the placed atoms are to be listed
molDescription of the Parameter
A string with the numbers of all placed atoms in an AtomContainer
org.openscience.cdk.exception.CDKExceptionDescription of the Exception

Definition at line 751 of file AtomPlacer.java.

Referenced by breadthFirstSearch(), org::openscience::cdk::layout::StructureDiagramGenerator::handleAliphatics(), org::openscience::cdk::layout::RingPlacer::placeBridgedRing(), and org::openscience::cdk::layout::RingPlacer::placeFusedRing().

        String s = "Numbers: ";
        for (int f = 0; f < ac.getAtomCount(); f++)
            s += (mol.getAtomNumber(ac.getAtom(f)) + 1) + " ";
        return s;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index