Daylight v4.9
Release Date: 1 February 2008

Name

dt_bondorder - retrieve the bond order of a bond

Generic Prototype

dt_bondorder(dt_Handle) => dt_Integer

C Prototype

#include "dt_smiles.h"

dt_Integer dt_bondorder(dt_Handle bond)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_bondorder(bond)

integer*4 bond

Description

Finds the bond order of the given bond. Choices are: DX_BTY_UNKNOWN, DX_BTY_SINGLE, DX_BTY_DOUBLE, DX_BTY_TRIPLE. Unlike bond type, bond order is a formal property of a bond.

Return Value

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

Related Topics

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