double n, con, cosphi, d, ds, sinphi, t; out.y = MapMath.inv_mlfn(ml0 + y/scaleFactor, es, en); if (Math.abs(y) >= MapMath.HALFPI) { out.y = y < 0. ? -MapMath.HALFPI : MapMath.HALFPI;
double n, con, cosphi, d, ds, sinphi, t; out.y = MapMath.inv_mlfn(ml0 + y / scaleFactor, es, en); if (Math.abs(y) >= MapMath.HALFPI) { out.y = y < 0. ? -MapMath.HALFPI : MapMath.HALFPI;
double outy = MapMath.inv_mlfn(ml0 + y / scaleFactor, es, en); if (Math.abs(y) >= MapMath.HALFPI) { outy = y < 0. ? -MapMath.HALFPI : MapMath.HALFPI;
double outy = MapMath.inv_mlfn(ml0 + y / scaleFactor, es, en); if (Math.abs(y) >= MapMath.HALFPI) { outy = y < 0. ? -MapMath.HALFPI : MapMath.HALFPI;
lp.setLatitude(Math.toDegrees(Math.atan((1. - es * F * sinphi0 / Math.sin(psi)) * Math.tan(psi) / one_es))); } else { lp.setLatitude(Math.toDegrees(MapMath.inv_mlfn(mode == NORTH_POLE ? Mp - c : Mp + c, es, en))); lp.setLongitude(Math.toDegrees(Math.atan2(x, mode == NORTH_POLE ? -y : y)));
lp.setLatitude(Math.toDegrees(Math.atan((1. - es * F * sinphi0 / Math.sin(psi)) * Math.tan(psi) / one_es))); } else { lp.setLatitude(Math.toDegrees(MapMath.inv_mlfn(mode == NORTH_POLE ? Mp - c : Mp + c, es, en))); lp.setLongitude(Math.toDegrees(Math.atan2(x, mode == NORTH_POLE ? -y : y)));
lp.setLatitude(Math.toDegrees(Math.atan((1. - es * F * sinphi0 / Math.sin(psi)) * Math.tan(psi) / one_es))); } else { lp.setLatitude(Math.toDegrees(MapMath.inv_mlfn(mode == NORTH_POLE ? Mp - c : Mp + c, es, en))); lp.setLongitude(Math.toDegrees(Math.atan2(x, mode == NORTH_POLE ? -y : y)));