Daylight v4.9
Release Date: 1 February 2008

Name

dt_scale - scale the coordinates of an object

Generic Prototype

dt_scale(dt_Handle, dt_Real, dt_Real, dt_Real) => dt_Boolean

C Prototype

#include "dt_depict.h"

dt_Boolean dt_scale(dt_Handle object, dt_Real cx, dt_Real cy, dt_Real cz)

FORTRAN Prototype

include 'dt_f_depict.inc'

logical dt_f_scale(object, cx, cy, cz)

integer*4 object
real*4 cx
real*4 cy
real*4 cz

Description

Modifies the (x,y) or (x,y,z) coordinates of a depiction or conformation 'object' by multiplying cx, cy, and cz by the x, y, and z coordinates of each atom in 'object'. If 'object' is a depiction, cz is ignored, but must be present.

Return Value

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

Related Topics

dt_alloc_conformation(3) dt_alloc_depiction(3) dt_calcxy(3) dt_depict(3) dt_getcoord(3) dt_project(3) dt_rotate(3) dt_setcoord(3) dt_translate(3) dt_zerocoord(3)