All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mapbox.mapboxsdk.constants.MathConstants Maven / Gradle / Ivy

There is a newer version: 9.2.1
Show newest version
package com.mapbox.mapboxsdk.constants;

/**
 * MathConstants exposes math related constant values
 */
public class MathConstants {

    /**
     * Constant used to convert degrees to radials
     */
    public static final double DEG2RAD = (Math.PI / 180.0);

    /**
     * Constant used to convert radials to degrees
     */
    public static final double RAD2DEG = (180.0 / Math.PI);

    /**
     * The number PI
     */
    public static final double PI = Math.PI;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy