Previous Next Up Title Contents Index Functions Index Top Library

TRANSLATE 3

PXTR3


CALL SEQUENCE

CALL PXTR3 (DX, DY, DZ, ITYPE)

INPUT PARAMETERS

REAL DX
X translation in MC
REAL DY
Y translation in MC
REAL DZ
Z translation in MC
INTEGER ITYPE
Composition flag

EFFECT

Insert a 3D local transformation matrix into the open structure.

This function first computes a 3D transformation matrix based on the specified translation parameters. Depending on the edit mode, the transformation matrix is then inserted into the open structure after the current element or replaces the current element. The newly inserted element becomes the current element.

It is equivalent to calling the following two routines in sequence:

CALL PTR3 (DX, DY, DZ, IERR, XFORM)
CALL PSLMT3 (XFORM, ITYPE)

where XFORM is a 4x4 transformation matrix.

During structure traversal, the local modeling transformation is modified as specified by the composition flag. See Insert Local Transformation 3 (routine PSLMT3) for details.

ERRORS

5
Ignoring function, function requires either state STNOP or state STOP.

SEE ALSO

Extension transformation routines, see PXRO, PXROX, PXROY, PXROZ, PXSC, PXSC3, PXTR

General transformations, see PBLTM, PBLTM3, PCOTM, PCOTM3, PDECSY

Global transformations, see PSGMT, PSGMT3

Local transformations, see PSLMT, PSLMT3

Matrix composition (multiplication), see PCOM, PCOM3

Rotate, see PRO, PROX, PROY, PROZ

Scale, see PSC, PSC3

Translate, see PTR, PTR3

Inquire global transformations, see PQGMT, PQGMT3

Inquire local transformations, see PQLMT, PQLMT3


Previous Next Up Title Contents Index Functions Index Top Library