|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmccombe.mapping.CoordinateSystem
mccombe.mapping.Projection
mccombe.mapping.TransverseMercator
mccombe.mapping.NZTM2000
public class NZTM2000
Field Summary |
---|
Fields inherited from class mccombe.mapping.TransverseMercator |
---|
northernHemisphere, zone |
Fields inherited from class mccombe.mapping.CoordinateSystem |
---|
locus, ref, sph |
Constructor Summary | |
---|---|
NZTM2000(ENPair en,
Ellipsoid e,
Datum d)
|
|
NZTM2000(Position p,
Ellipsoid e,
Datum d)
|
Method Summary | |
---|---|
Datum |
defaultDatum()
Get the defaul Datum for an instance of CoordinateSystem. |
Ellipsoid |
defaultEllipsoid()
Define the default Ellipsoid for this system |
double |
e0()
False Eastimg (metres) |
double |
f0()
Define scale factor |
protected static ENPair |
getEN(java.lang.String gridref)
Parse NZMG coordinates into easting and northing distances |
double |
lamda0()
The central meridian |
static NZTM2000 |
makePoint(java.lang.String gridref,
Ellipsoid e,
Datum d)
Static factory method to create an instance of NZMG from a grid reference String |
double |
n0()
Define false northing |
double |
phi0()
Define latitude of true origin |
java.lang.String |
toString()
Provide a String representing the position in a correct format for the CoordinateSystem |
Methods inherited from class mccombe.mapping.TransverseMercator |
---|
gridConvergence, pointScaleFactor, toEN |
Methods inherited from class mccombe.mapping.CoordinateSystem |
---|
getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NZTM2000(Position p, Ellipsoid e, Datum d)
public NZTM2000(ENPair en, Ellipsoid e, Datum d)
Method Detail |
---|
public static NZTM2000 makePoint(java.lang.String gridref, Ellipsoid e, Datum d) throws GridFormatException
gridref
- A grid reference of the form "157203 mE 6752091 mN " where the values are easting and
northing distances in me
- Ellipsoid to use in conversionsd
- Datum to use in conversions
GridFormatException
- thrown in case of format error in the grid referenceprotected static ENPair getEN(java.lang.String gridref) throws GridFormatException
gridref
- A pair of NZMG coordinates (e.g. "2487100.638 mE 6751049.719 mN), specified in m.
GridFormatException
- Invalid coordinate format results in a GridFormatException being thrownpublic double f0()
f0
in class TransverseMercator
public double phi0()
phi0
in class TransverseMercator
public double n0()
n0
in class TransverseMercator
public double e0()
e0
in class TransverseMercator
public double lamda0()
lamda0
in class TransverseMercator
public Ellipsoid defaultEllipsoid()
defaultEllipsoid
in class CoordinateSystem
public Datum defaultDatum()
CoordinateSystem
defaultDatum
in class CoordinateSystem
public java.lang.String toString()
CoordinateSystem
toString
in class CoordinateSystem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |