Previous Next Up Title Contents Index Functions Index Top Library

SCALE 3

PXSC3


CALL SEQUENCE

CALL PXSC3 (SX, SY, SZ, ITYPE)

INPUT PARAMETERS

REAL SX
X scale factor
REAL SY
Y scale factor
REAL SZ
Z scale factor
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 scale factors. 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 PSC3 (SX, SY, SZ, 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, PXTR, PXTR3

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 transformation, see PQGMT, PQGMT3

Inquire local transformations, see PQLMT, PQLMT3


Previous Next Up Title Contents Index Functions Index Top Library