Release Date: 1 February 2008
Namedt_setbondstyles - set chiral bond styles of a depiction
Generic Prototypedt_setbondstyles(dt_Handle) => dt_Boolean
C Prototype#include "dt_depict.h"
dt_Boolean dt_setbondstyles(dt_Handle depiction)
FORTRAN Prototypeinclude 'dt_f_depict.inc'
DescriptionSets 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 ValueReturns the success (TRUE) or failure (FALSE) of the operation.
Related Topicsdt_bondstyle(3) dt_calcxy(3) dt_setbondstyle(3)