Daylight v4.9
Release Date: 1 February 2008

Name

dt_translate - translate the coordinates of an object

Generic Prototype

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

C Prototype

#include "dt_depict.h"

dt_Boolean dt_translate(dt_Handle object, dt_Real x, dt_Real y, dt_Real z)

FORTRAN Prototype

include 'dt_f_depict.inc'

logical dt_f_translate(object, x, y, z)

integer*4 object
real*4 x
real*4 y
real*4 z

Description

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

Return Value

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

Related Topics

dt_calcxy(3) dt_getcoord(3) dt_project(3) dt_rotate(3) dt_scale(3) dt_setcoord(3) dt_setschematic(3) dt_zerocoord(3)