Brief Index      Full Index      Events Index      I.M. Reference

Translate_Object

Functions

void Translate_Object (double x, double y, double z)
 
void DTranslate_Object (double x, double y, double z)
 

Detailed Description

Function Documentation

void Translate_Object ( double  x,
double  y,
double  z 
)

Moves objects about within the user data space.

Parameters
x- Distance to move along the X -axis. Positive values are towards positive X, of course.
y- Distance to move along the Y -axis.
z- Likewise, along the Z -axis.

DETAILS

Translate_Object() is a modelling transformation—it should be thought of as changing the object you have drawn. For changing your point of view, a better routine is Dolly_Camera() .

The mathematical transform required is

NOTES

RESTRICTIONS

See Also
Scale_Object, Rotate_Object, Append_Modelling_Matrix, Set_Modelling_Matrix, Dolly_Camera, Pan_Camera.
void DTranslate_Object ( double  x,
double  y,
double  z 
)

Similar to Translate_Object(), but operates on double-precision data.

Parameters
x- Distance to move along the X -axis. Positive values are towards positive X, of course.
y- Distance to move along the Y -axis.
z- Likewise, along the Z -axis.

Brief Index      Full Index      Events Index      I.M. Reference