Synopsis

PDX_MSGT mth_TransformPoint(long option, double *pnt1, double *matrix, double *pnt2)

Purpose

Transform a 3D point through a matrix

Description

A 3D point will be transformed through a matrix that is in either 3x4 (GDX_MATRIX) or 4x4 format.

Input

option

Options (not used)

pnt1

The input point (3)

matrix

The transformation matrix (3x4 or 4x4)

Output

pnt2

The output point (3) which can be returned from the input point

Return

      MTH_NOERR
      Low level error return
      .fi