Daylight v4.9
Release Date: 1 February 2008

Name

dt_bond - retrieve the bond connecting two atoms

Generic Prototype

dt_bond(dt_Handle, dt_Handle) => dt_Handle

C Prototype

#include "dt_smiles.h"

dt_Handle dt_bond(dt_Handle atom1, dt_Handle atom2)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_bond(atom1, atom2)

integer*4 atom1
integer*4 atom2

Description

Finds the bond which connects the two given atoms.

Return Value

Returns the bond or the NULL_OB if the atoms are not connected of if the objects are not atoms.

Related Topics

dt_addatom(3) dt_addbond(3) dt_alloc_mol(3) dt_bondorder(3) dt_bondtype(3) dt_canstream(3) dt_dbo(3) dt_setbondorder(3) dt_setbondtype(3) dt_setdbo(3)