org.osmdroid.views.util.constants.MathConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-android Show documentation
Show all versions of osmdroid-android Show documentation
An Android library to display OpenStreetMap views.
// Created by plusminus on 17:27:54 - 30.09.2008
package org.osmdroid.views.util.constants;
/**
*
* @author Nicolas Gramlich
*
*/
public interface MathConstants {
// ===========================================================
// Final Fields
// ===========================================================
public static final float DEG2RAD = (float) (Math.PI / 180.0);
public static final float RAD2DEG = (float) (180.0 / Math.PI);
public static final float PI = (float) Math.PI;
public static final float PI_2 = PI / 2.0f;
public static final float PI_4 = PI / 4.0f;
// ===========================================================
// Methods
// ===========================================================
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy