Synopsis

PDX_MSGT mth_OffsetPointAlongAxis(long option, double *pnt, double dist, double *vec, double *new_pnt)

Purpose

Translate a 3D point along a specified direction

Description

A 3D point will be translated along a specified direction. The new point can be returned through the input point.

Input

option

Options (not used)

pnt

The input point (3)

dist

The translation distance (+/-)

vec

The vector of translation direction

Output

new_pnt

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

Return

      MTH_NOERR
      Low level error return
      .fi