private IAtom getRingAtom ( IBond bond ) { if ( bond . getBegin ( ) . getFlag ( CDKConstants . ISINRING ) && ! bond . getBegin ( ) . getFlag ( CDKConstants . ISPLACED ) ) { return bond . getBegin ( ) ; } if ( bond . getEnd ( ) . getFlag ( CDKConstants . ISINRING ) && ! bond . getEnd ( ) . getFlag ( CDKConstants . ISPLACED ) ) { return bond . getEnd ( ) ; } return null ; }
Get the unplaced ring atom in this bond