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

GPXF2 - Transform Point 2

GPXF2 (point, matrix, result)

Purpose

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

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

Parameters

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

Point to be transformed.

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

Transformation matrix.

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

             
  |m11 m12 m13|
  |m21 m22 m23| ---> (m11,m12,m13,m21....m33)
  |m31 m32 m33|
             

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

Transformed point.

Error Codes

None

Related Subroutines

None

RCP code

201330957 (X'0C00110D')


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