Converts degrees to radians.
Commonly used for trigonometric calculations when working with geospatial data.
static double degreesToRadians(double degrees) { return degrees * pi / 180; }