Synopsis

PDX_MSGT gdx_ApplyMatrix3D(long option, long npnts, GDX_MATRIX matrix, MTH_3DPNT point[], MTH_3DPNT applied[])

Purpose

Apply GDX matrix to a list of 3D points.

Description

This function will apply the rotation and translation to the specified 3D points. The input and output points can be at the same location.

Input

option

GDX_TRANSPOSE

Use transpose of matrix

GDX_ROTONLY

Apply matrix rotation only to points

npnts

Number of points to apply matrix to

matrix

Matrix to apply

point

Point to be rotated and translated

Output

applied

Rotated and translated point

Return

GDX_NOERR or error