public class Angle extends Object
Modifier and Type | Method and Description |
---|---|
static double |
to180(double angle)
Computes an equivalent value for the angle in the range 180 ≤ value <
180
|
static double |
to360(double angle)
Computes an equivalent value for the angle in the range 0 ≤ value <
360
|
public static double to180(double angle)
angle
- a valid floating point valuepublic static double to360(double angle)
angle
- a valid floating point valueCopyright © 2022. All rights reserved.