Java Utililty Methods Degree to Radian

List of utility methods to do Degree to Radian

Description

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

Method

doubledegToRad(double angle)
deg To Rad
return angle * (PI / 180.0);
doubledegToRad(double deg)
Converts degrees into radiant
return deg * Math.PI / 180;
doubledegToRad(double degrees)
deg To Rad
return degrees * Math.PI / 180.0;
DoubledegToRad(Double secondCoordinate, Double firstCoordinate)
deg To Rad
return (secondCoordinate - firstCoordinate) * Math.PI / 180;
doubledegToRad(final double deg)
Converts a value in degree to radians.
return deg * Math.PI / HALF_CIRCLE_DEG;
floatdegToRad(final float deg)
deg To Rad
return deg / 180.0f * (float) Math.PI;
floatdegToRad(float deg)
deg To Rad
return deg * DEG_TO_RAD;
doubletoRadians(double angleDegrees)
Converts from degrees to radians.
return (angleDegrees * Math.PI) / 180.0;
doubletoRadians(double degrees)
to Radians
return Math.toRadians(wind(degrees, 360));
doubletoRadians(double degrees)
Same as Math#toRadians(double) but 3x faster (multiply vs.
return degrees * DEGREES_TO_RADIANS;