Synopsis

PDX_MSGT imth_ApplyMatrix3D(long option, int npnts, IMTH_MATRIX matrix, MTH_3DPNT point[], MTH_3DPNT applied[])

Purpose

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

IMTH_TRANSPOSE

Use transpose of matrix

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

IGES_NOERR or error