DX, DY, DZ real-valued function

Syntax

DX (location)
 
DY (location)
 
DZ (location)

Function

Return a displacement component of a given transformation value.

Parameter

location

Transformation value from which a component is desired. This can be a function, a variable, or a compound transformation.

Details

These three functions return the respective displacement components of the specified transformation value.

NOTE: The DECOMPOSE instruction can also be used to obtain the displacement components of a transformation value. If the rotation components are desired, that instruction must be used. DECOMPOSE is more efficient if more than one element is needed and the location is a compound transformation.

Example

Consider a transformation start with the following components:

125, 250, -50, 135, 50, 75 

The following function references will then yield the indicated values:

DX(start)         ;Returns 125.00 
DY(start)         ;Returns 250.00 
DZ(start)         ;Returns -50.00 

Related Keywords

DECOMPOSE program instruction

RX, RY, RZ transformation functions