CALL PDECSY ( VWRX,VWRY,VWRZ, VPNX,VPNY,VPNZ, VUPX,VUPY,VUPZ, ERRIND, VWORMT)
If the input parameters are valid, the error indicator will be 0 and a 3D transformation matrix which mathematically represents the new coordinate system is computed and returned in the output matrix.
Otherwise, the error indicator will specify which error occurred and the output matrix will be undefined. The error indicator can take on the following values:
The Z plane normal vector and the up vector are specified relative to the specified origin. The up vector specifies the direction which, when projected onto the Z plane, indicates the positive Y axis.
To insert this matrix into the open structure, use the Set Local Transformation 3 function (routine PSLMT3), or the Set Global Transformation 3 function (routine PSGMT3).
General transformations, see PBLTM, PBLTM3, PCOM, PCOM3
Global transformations, see PSGMT, PSGMT3
Local transformations, see PSLMT, PSLMT3
Matrix composition (multiplication), see PCOM, PCOM3
Rotate, see PRO, PROX, PROY, PROZ