[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPXF3 - Transform Point 3

GPXF3 (point, matrix, result)


Use GPXF3 to transform a point using a specified transformation matrix.

The graPHIGS API returns the result of multiplying the given point by the transformation.


point -- specified by user, 3 short floating-point numbers


matrix -- specified by user, 16 short floating-point numbers

Transformation matrix.

The elements must be passed in the following order for the transformation matrix:

  |m11 m12 m13 m14|
  |m21 m22 m23 m24| ---> (m11,m12,m13,m14,m21,m22,...m44)
  |m31 m32 m33 m34|
  |m41 m42 m43 m44|

result -- returned by the graPHIGS API, 3 short floating-point numbers

Transformed point.

Error Codes


Related Subroutines


RCP code

201330956 (X'0C00110C')

[ Previous | Next | Contents | Glossary | Home | Search ]