[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
TRANSLATE (PHOP,*,*,*)
Purpose
Use
Translate
to calculate a two-dimensional transformation matrix
to perform the specified 2D-axis translation.
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
ptranslate
(trans_vec,
err_ind, result_tran) |
const Pvec *trans_vecTranslation vector.
Pint *err_indError indicator.
Pmatrix result_tranTransformation matrix.
(See
Chapter 15. "ISO PHIGS Transformations" for a description
of the storage of the transformation matrix).
FORTRAN
PTR
(dx, dy,
errind, xfrmt) |
real dxx-axis translation vector.
real dyy-axis translation vector.
integer errindError indicator.
real xfrmt(3,3)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 ]