/* This file is part of OpenSatNav. OpenSatNav is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenSatNav is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenSatNav. If not, see <http://www.gnu.org/licenses/>. */ // Created by plusminus on 17:27:54 - 30.09.2008 package org.andnav.osm.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 // =========================================================== }