Synopsis

PDX_MSGT imth_ApplyMatrix2D(long option, int npnts, IMTH_MATRIX matrix, double z, MTH_2DPNT point[], MTH_3DPNT applied[])

Purpose

Apply IGES 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.

Input

option

IMTH_TRANSPOSE

Use transpose of matrix

npnts

Number of points to apply matrix to

matrix

Matrix to apply

z

Common z

point

Point to be rotated and translated

Output

applied

Rotated and translated point

Return

IGES_NOERR or error