Java examples for java.lang:Math Geometry Distance
Returns latitude from mercator Y.
//package com.java2s; import static java.lang.Math.*; public class Main { /**//ww w. ja va 2 s . co m * Returns latitude from mercator Y. */ static double inverseMercator(double y) { return 2 * atan(exp(y)) - PI / 2; } }