[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
COMPOSE MATRIX (PHOP,*,*,*)
Purpose
Use
Compose Matrix
to perform a 33 matrix multiplication
and return the result.
The graPHIGS API computes:
Transformation Matrix A Transformation Matrix B
and returns the result as the composed transformation matrix.
If the graPHIGS API can compute the transformation matrix, then the
graPHIGS API sets the error indicator to zero and returns the
composed transformation matrix.
If the graPHIGS API cannot compute the transformation matrix,
then the values of the matrix are
unpredictable and the graPHIGS API sets the error indicator to the
following error:
- 2
- Function Requires State (PHOP,*,*,*)
Language Bindings
C
pcompose_matrix
(tran_a, tran_b, err_ind,
result_tran) |
Pmatrix tran_aTransformation matrix A.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
Pmatrix tran_bTransformation matrix B.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
Pint *err_indError indicator.
Pmatrix result_tranComposed transformation matrix.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
FORTRAN
PCOM
(xfrmta, xfrmtb,
errind, xfrmto) |
real xfrmta(3,3)Transformation matrix A.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
real xfrmtb(3,3)Transformation matrix B.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
integer errindError indicator.
real xfrmto(3,3)Composed transformation matrix.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
Errors
None
Related Subroutines
None
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]