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

int org::openscience::cdk::debug::DebugStrand::getBondNumber ( IAtom  atom1,
IAtom  atom2 
) [inline]

Returns the position of the bond between two given atoms in the electronContainers array. It returns -1 if the bond does not exist.

Parameters:
atom1 The first atom
atom2 The second atom
Returns:
The Position of the bond between a1 and a2 in the electronContainers array.

Reimplemented from org::openscience::cdk::AtomContainer.

Definition at line 154 of file DebugStrand.java.

References org::openscience::cdk::tools::LoggingTool::debug().

                                                         {
            logger.debug("Getting bond number: atom1=" + atom1, " atom2=" + atom2);
            return super.getBondNumber(atom1, atom2);
      }


Generated by  Doxygen 1.6.0   Back to index