private void setWedge ( IBond bond , IAtom end , IBond . Stereo style ) { if ( ! bond . getEnd ( ) . equals ( end ) ) bond . setAtoms ( new IAtom [ ] { bond . getEnd ( ) , bond . getBegin ( ) } ) ; bond . setStereo ( style ) ; }
Sets a wedge bond because wedges are relative we may need to flip the storage order on the bond .