Function swri_math_util::WrapRadians

Function Documentation

double swri_math_util::WrapRadians(double angle, double center)

Normalize an angle to be within a 2pi range centered at a given value.

angle The input angle in radians.

center The center of the range in radians.

Param :

Param :

Returns:

An equivalent angle in the desired range.