Daylight v4.9
Release Date: 1 February 2008

Name

dt_xatom - find the atom across a bond from an atom

Generic Prototype

dt_xatom(dt_Handle, dt_Handle) => dt_Handle

C Prototype

#include "dt_smiles.h"

dt_Handle dt_xatom(dt_Handle atom, dt_Handle bond)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_xatom(atom, bond)

integer*4 atom
integer*4 bond

Description

Finds the atom which is across the bond 'bond' from atom 'atom'.

Return Value

Returns the atom or the NULL_OB if 'bond' doesn't connect to 'atom' or if inappropriate objects are given as arguments.

Related Topics

dt_addatom(3) dt_addbond(3) dt_alloc_mol(3) dt_bond(3)