Synopsis

PDX_MSGT mth_OffsetPoint(MTH_3DPNT sp, double angle, double dist, MTH_3DPNT tp)

Purpose

Offset point by angle and distance.

Description

This function will calculate an offset point given the original point, angle, and distance. The calculations are performed relative to the xy plane and do not affect the z coordinate.

Input

sp

Source point location.

angle

Angle to offset (in radians).

dist

Distance to offset.

Output

tp

Target point location.

Return

MTH_NOERR or error