Daylight v4.9
Release Date: 1 February 2008


dt_setbondstyles - set chiral bond styles of a depiction

Generic Prototype

dt_setbondstyles(dt_Handle) => dt_Boolean

C Prototype

#include "dt_depict.h"

dt_Boolean dt_setbondstyles(dt_Handle depiction)

FORTRAN Prototype

include ''

logical dt_f_setbondstyles(depiction)

integer*4 depiction


Sets the chiral bond styles of a depiction whose molecule contains chiral information. That is, attempts to determine a reasonable set of wedge, hash, cis, and trans bonds to accurately represent the chiral information in the molecule. This call must be applied after dt_calcxy(3) (or some other method of setting coordinates) as the bond styles depend on the particular layout of the depiction.

Atom visibilities specified with dt_setvisible(3) are considered when determining bond styles. Bond styles specified with dt_setbondstyle(3) are preserved and only unspecified styles are set.

Return Value

Returns the success (TRUE) or failure (FALSE) of the operation.

Related Topics

dt_bondstyle(3) dt_calcxy(3) dt_setbondstyle(3)