Daylight v4.9
Release Date: 1 February 2008

Name

dt_bondstyle - retrieve the style of a bond in a depiction

Generic Prototype

dt_bondstyle(dt_Handle, dt_Handle, dt_Handle) => dt_Integer

C Prototype

#include "dt_depict.h"

dt_Integer dt_bondstyle(dt_Handle depiction, dt_Handle atom, dt_Handle bond)

FORTRAN Prototype

include 'dt_f_depict.inc'

integer*4 dt_f_bondstyle(depiction, atom, bond)

integer*4 depiction
integer*4 atom
integer*4 bond

Description

Gets the style of the bond in the depiction, relative to the atom.

Return Value

Returns a symbolic constant from the "bond-rendition attributes" defined in the dt_depict.h header file, such as a wedge (DX_EDGE_IS_TRI_OUT) or a hash (DX_EDGE_IS_HASH_OUT). In the case of a bond between a chiral center and an atom in a double bond, the value may be a bitwise OR that includes cis or trans information (e.g., DX_EDGE_IS_TRI_OUT | DX_EDGE_IS_TEE_IN).

Related Topics

dt_setbondstyle(3) dt_setbondstyles(3)