??? mccombe.mapping
? NZMG
java.lang.Object
mccombe.mapping.CoordinateSystem
mccombe.mapping.Projection
mccombe.mapping.Orthomorphic
mccombe.mapping.NZMG
-
?????
????????/?? mccombe.mapping.Orthomorphic
Orthomorphic.Complex
-
????
??????? mccombe.mapping.CoordinateSystem
locus, ref, sph
-
?????
??? -
????
??????????cfb1
(int i) cfb2
(int i) int
cfblen()
double
cfi
(int i) int
cfilen()
double
cfl
(int i) int
cfllen()
Get the defaul Datum for an instance of CoordinateSystem.The default Ellipsoid used by instances of this CoordinateSystem For example, a CoordinateSystem of type OSGB has the AirySphere as its default Ellipsoiddouble
e0()
protected static ENPair
Parse NZMG coordinates into easting and northing distancesdouble
Calculate the Grid Convergence for the current location.double
lamda0()
static NZMG
Static factory method to create an instance of NZMG from a grid reference Stringdouble
n0()
double
phi0()
toString()
Provide a String representing the position in a correct format for the CoordinateSystem??????? mccombe.mapping.Orthomorphic
a, toEN
??????? mccombe.mapping.CoordinateSystem
getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString
-
???????
-
NZMG
Create a new NZMG point for a specific Position, Ellipsoid and Datum.- ??:
p
- Positione
- Ellipsoid to use with this instanced
- Datum to use
-
NZMG
Create a new NZMG point for a specific pair of Eastings and Northings, Ellipsoid and Datum.- ??:
point
- ENPair containing the easting and northing valuese
- Ellipsoid to use with this instanced
- Datum to use
-
-
??????
-
makePoint
Static factory method to create an instance of NZMG from a grid reference String- ??:
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- ??:
- A new NZMG instance
- ??:
GridFormatException
- thrown in case of format error in the grid reference
-
getEN
Parse NZMG coordinates into easting and northing distances- ??:
gridref
- A pair of NZMG coordinates (e.g. "2487100.638 mE 6751049.719 mN), specified in m.- ??:
- Easting and Northing distances (m)
- ??:
GridFormatException
- Invalid coordinate format results in a GridFormatException being thrown
-
defaultEllipsoid
???????:CoordinateSystem
The default Ellipsoid used by instances of this CoordinateSystem For example, a CoordinateSystem of type OSGB has the AirySphere as its default Ellipsoid- ???:
defaultEllipsoid
???CoordinateSystem
- ??:
- The Ellipsoid used as the deafult for this CoordinateSystem
-
defaultDatum
???????:CoordinateSystem
Get the defaul Datum for an instance of CoordinateSystem. For example, instances of OSGB usually use the OSGB 1936 datum.- ???:
defaultDatum
???CoordinateSystem
- ??:
- The default Datum used by this instance of CoordinateSystem
-
gridConvergence
public double gridConvergence()Calculate the Grid Convergence for the current location. Grid Convergence is defined as the angle between Grid North and True North. The value is zero on the Central Meridian. In the absence of an algebraic form for grid convergence for NZMG, this implementation reverts to basics and calculates it by making a small increment (delta) north and south of the point and calculating the change in easting and northing values.- ???:
gridConvergence
???Orthomorphic
- ??:
- The value of Grid Convergence (radians)
-
toString
???????:CoordinateSystem
Provide a String representing the position in a correct format for the CoordinateSystem- ???:
toString
???CoordinateSystem
- ??:
- String
-
cfi
public double cfi(int i) - ???:
cfi
???Orthomorphic
-
cfl
public double cfl(int i) - ???:
cfl
???Orthomorphic
-
n0
public double n0()- ???:
n0
???Orthomorphic
-
e0
public double e0()- ???:
e0
???Orthomorphic
-
phi0
public double phi0()- ???:
phi0
???Orthomorphic
-
lamda0
public double lamda0()- ???:
lamda0
???Orthomorphic
-
cfb1
- ???:
cfb1
???Orthomorphic
-
cfb2
- ???:
cfb2
???Orthomorphic
-
cfilen
public int cfilen()- ???:
cfilen
???Orthomorphic
-
cfllen
public int cfllen()- ???:
cfllen
???Orthomorphic
-
cfblen
public int cfblen()- ???:
cfblen
???Orthomorphic
-