Previous: mattrn Up: ../plot79_m.html Next: matun
SUBROUTINE MATTV (XNEW,YNEW,ZNEW,HNEW,XOLD,YOLD,ZOLD,HOLD,T) C$ (Transform Vector) C$ Form the vector-matrix product in 4-dimensional homogeneous C$ coordinates given by C$ C$ (XNEW,YNEW,ZNEW,HNEW) = (XOLD,YOLD,ZOLD,HOLD) T C$ C$ where T is an arbitrary 4 x 4 matrix. The new homogeneous C$ coordinates will be normalized to HNEW = 1.0, unless the C$ point at infinity (HNEW = 0.0) is generated. C$ C$ The old and new points may be identical if desired, for C$ convenience in applying repeated transformations. C$ (31-MAR-86)