Synopsis

PDX_MSGT imth_ApplyEntityMatrix3D(long option, int npnts, void *entity, MTH_3DPNT points[], MTH_3DPNT applied[])

Purpose

Apply IGES entity matrix to a list of 3D points.

Description

This function will apply the IGES matrices in the specified entity DE data 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

entity

Pointer to IGES entity

points

Points to be rotated and translated

Output

applied

Rotated and translated points

Return

      IMTH_NOERR
      Low level error return
      .fi