Java Utililty Methods Angle to Degree

List of utility methods to do Angle to Degree

Description

The list of methods to do Angle to Degree are organized into topic(s).

Method

floattoDegree(double angle)
to Degree
return (float) Math.toDegrees(angle);
doubletoDegrees(final double angle)
Returns angle converted into degrees.
return angle * 180 / Math.PI;
floattoDegrees(float angle)
to Degrees
return (float) 180 / (float) Math.PI * angle;
doubletoDegrees(int val)
Convert an angle in map units to degrees.
return (double) val * (360.0 / (1 << 24));
doubletoDegrees(Short angrad)
To degrees.
return Math.toDegrees(angrad.doubleValue());