Daylight v4.9
Release Date: 1 February 2008


dt_bondtype - retrieve the type of a bond

Generic Prototype

dt_bondtype(dt_Handle) => dt_Integer

C Prototype

#include "dt_smiles.h"

dt_Integer dt_bondtype(dt_Handle bond)

FORTRAN Prototype

include ''

integer*4 dt_f_bondtype(bond)

integer*4 bond


Finds the bond type of the given bond. Choices are: DX_BTY_UNKNOWN, DX_BTY_SINGLE, DX_BTY_DOUBLE, DX_BTY_TRIPLE, DX_BTY_AROMAT, DX_BTY_WILD. Bond type is a derived property of a bond. Note that this value may change when a molecule goes from the modify-on to modify-off state (for example, it may change from single or double to aromatic).

Return Value

Returns the bond type. For all other objects, this property is defined as -1.

Related Topics

dt_addbond(3) dt_alloc_mol(3) dt_bond(3) dt_bondorder(3) dt_dbo(3) dt_setbondorder(3) dt_setbondtype(3) dt_setdbo(3)