|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.jdesktop.swingx.mapviewer.util.MercatorUtils
public final class MercatorUtils extends Object
A utility class of methods that help when dealing with standard Mercator projections.
| Constructor Summary | |
private MercatorUtils()
Creates a new instance of MercatorUtils |
|
| Method Summary | |
|---|---|
static int
|
latToY(double latitudeDegrees, double radius)
|
static int
|
longToX(double longitudeDegrees, double radius)
|
static double
|
xToLong(int x, double radius)
|
static double
|
yToLat(int y, double radius)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
private MercatorUtils()
| Method Detail |
|---|
public static int latToY(double latitudeDegrees, double radius)
public static int longToX(double longitudeDegrees, double radius)
public static double xToLong(int x, double radius)
public static double yToLat(int y, double radius)
Groovy Documentation