Synopsis

PDX_MSGT gdx_ApplyMatrix2D(long option, int npnts, GDX_MATRIX gdx_matrix, double z, MTH_2DPNT point[], MTH_3DPNT applied[])

Purpose

Apply STEP matrix to a list of 2D points.

Description

This function will apply the rotation and translation to the specified 2D points using the common z value.

NOTE: this is used specifically by the CADDS interface. No other interface should use this function.

Input

option

GDX_TRANSPOSE

Use transpose of matrix

npnts

Number of points to apply matrix to

gdx_matrix

Matrix to apply

z

Common z

point

Point to be rotated and translated

Output

applied

Rotated and translated point

Return

GDX_NOERR or error