Previous Next Up Title Contents Index Functions Index Top Library

ROTATE

PRO


CALL SEQUENCE

CALL PRO (ROTANG, ERRIND, XFRMT)

INPUT PARAMETERS

REAL ROTANG
Rotation angle in radians.

OUTPUT PARAMETERS

INTEGER ERRIND
Error indicator
REAL XFRMT(3,3)
Homogeneous 3 x 3 matrix..

PHIGS STATE

(PHOP, *, *, *).

EFFECT

Returns a homogeneous 3 x 3 matrix to be used for the 2D rotation defined by ROTANG. The rotation ROTANG is specified in radians. A positive value causes rotation in the counterclockwise direction.

The returned matrix can be used as the transformation matrix for the SET LOCAL TRANSFORMATION MATRIX, SET GLOBAL TRANSFORMATION MATRIX, and similar functions.

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)

SEE ALSO

set global transformation, set local transformation, translate, scale, rotate, compose matrix, build transformation matrix, compose transformation matrix


Previous Next Up Title Contents Index Functions Index Top Library