public abstract class TransverseMercator extends Projection
TransverseMercator is an abstract base class for coordinate systems derived from the Transverse Mercator Projection. Methods are provided for standard conversions between Lat/Lon and Easting/Northing
Concrete sub-classes derived from TransverseMercator need to provide values for the projection constants f0(), phi0(), n0(), e0() and lamda0() (see below).
Modifier and Type | Field and Description |
---|---|
protected boolean |
northernHemisphere |
protected int |
zone |
locus, ref, sph
Modifier | Constructor and Description |
---|---|
protected |
TransverseMercator()
Default constructor for TransverseMercator
|
|
TransverseMercator(ENPair point,
Ellipsoid sphere,
Datum datum)
Create an instance of TransverseMercator based on a specified ENPair
|
protected |
TransverseMercator(ENPair point,
int z,
Ellipsoid sphere,
Datum datum,
boolean hemisphere)
Create an instance of TransverseMercator based on a specified ENPair
|
|
TransverseMercator(Position p,
Ellipsoid e,
Datum d)
Create a new TransverseMercator instance for a location specified by
Position, Ellipsoid and Datum
|
Modifier and Type | Method and Description |
---|---|
abstract double |
e0()
e0() defines the "false easting" distance of the projection.
|
abstract double |
f0()
The scale factor on the Central Meridian.
|
double |
gridConvergence()
Calculate the Grid Convergence for the current location.
|
abstract double |
lamda0()
lamda0() defines the longitude (in radians) of the true origin also
known as the "Central Meridian".
|
abstract double |
n0()
n0() defines the "false northing" distance of the projection.
|
abstract double |
phi0()
phi0() defines the latitude of the true origin of the projection.
|
double |
pointScaleFactor()
Calculate the Point Scale Factor for the current Position.
|
ENPair |
toEN()
Provide an ENPair containing Easting and Northing distances for this point
|
defaultDatum, defaultEllipsoid, getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString, toString
protected TransverseMercator()
public TransverseMercator(Position p, Ellipsoid e, Datum d)
p
- A Position object defining the locatione
- The Ellipsoid used as a referenced
- The Datum usedpublic TransverseMercator(ENPair point, Ellipsoid sphere, Datum datum)
point
- An ENPair containing the Easting and Northing distances of the pointsphere
- The Ellipsoid to usedatum
- The Datum to use with this instanceprotected TransverseMercator(ENPair point, int z, Ellipsoid sphere, Datum datum, boolean hemisphere)
sphere
- The Ellipsoid to usez
- UTM Zone numberdatum
- The Datum to use with this instancepoint
- An ENPair containing the Easting and Northing distances of the pointhemisphere
- true if the point is in the Northern hemispherepublic ENPair toEN()
toEN
in class Projection
public double gridConvergence()
gridConvergence
in class Projection
public double pointScaleFactor()
public abstract double f0()
public abstract double phi0()
public abstract double n0()
public abstract double e0()
public abstract double lamda0()