public class ProjectionUTM extends ProjectionTransverseMercator
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_ZONE |
protected int |
zone |
centralLatitude, centralMeridian, DEFAULT_CENTRAL_LATITUDE, DEFAULT_CENTRAL_MERIDIAN, DEFAULT_WIDTH, width
projectionLimits
Constructor and Description |
---|
ProjectionUTM()
Creates a projection for UTM zone 1.
|
ProjectionUTM(int zone)
Implements a Transverse Mercator projection for a specified UTM zone.
|
Modifier and Type | Method and Description |
---|---|
static Angle |
centralMeridianForZone(int zone) |
protected double |
getScale() |
int |
getZone()
Indicates the UTM zone of this projection.
|
void |
setZone(int zone)
Specifies the UTM zone for this projection.
|
cartesianToGeographic, equals, geographicToCartesian, geographicToCartesian, getCentralLatitude, getCentralMeridian, getName, getWidth, hashCode, isContinuous, makeProjectionLimits, northPointingTangent, setCentralLatitude, setCentralMeridian, setWidth
getProjectionLimits, setProjectionLimits
protected static final int DEFAULT_ZONE
protected int zone
public ProjectionUTM()
public ProjectionUTM(int zone)
zone
- The UTM zone of this projection, a value between 1 and 60, inclusive.java.lang.IllegalArgumentException
- if the specified zone is less than 1 or greater than 60.public static Angle centralMeridianForZone(int zone)
protected double getScale()
getScale
in class ProjectionTransverseMercator
public int getZone()
public void setZone(int zone)
zone
- The UTM zone, a value between 1 and 60, inclusive.java.lang.IllegalArgumentException
- If the specified zone is less than 1 or greater than 60.ProjectionTransverseMercator