Previous: matxpz Up: ../plot79_m.html Next: matxrf
SUBROUTINE MATXRA (PX,PY,PZ, DX,DY,DZ, ANGLE) C$ (Transform -- Rotation About Arbitrary Axis) C$ Compute a 4-dimensional transformation matrix corresponding C$ to a rotation by "ANGLE" degrees about an axis emerging C$ from a point (PX,PY,PZ) and lying in the direction given by C$ the vector (DX,DY,DZ). The stored transformation matrix is C$ multiplied on the right by the computed projection matrix. C$ C$ If (DX,DY,DZ) is specified as (0,0,0), an error message C$ will be issued and a unit matrix returned. A positive C$ rotation angle corresponds to a counterclockwise rotation C$ about the axis. C$ C$ MATXSM() sets the stored matrix to a starting value, C$ MATXIM() inquires the current value, and MATXIO() selects C$ printing of intermediate matrices. C$ C$ (07-FEB-90)