# Synopsis

PDX_MSGT mth_NormalizeAngles(long option, double *start_angle, double *end_angle, double angle_tol)

# Purpose

Normalize start and end angles.

# Description

Adjust the passed in start_angle and end_angle to be: 2pi > start_angle >= 0.0 end_angle > start_angle start_angle + 2pi >= end_angle > 0.0

# Input

## option

Options (not used)

## start_angle

Start angle in radians

## end_angle

End angle in radians

## angle_tol

Angle tolerance

# Output

## start_angle

Normalized start angle in radians

## end_angle

Normalized end angle in radians

# Return

          MTH_NOERR
          Low level error return
          .fi