Package uk.co.mccombe.mapping
Class Orthomorphic
java.lang.Object
uk.co.mccombe.mapping.CoordinateSystem
uk.co.mccombe.mapping.Projection
uk.co.mccombe.mapping.Orthomorphic
- Direct Known Subclasses:
NZMG
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class uk.co.mccombe.mapping.CoordinateSystem
locus, ref, sph
-
Constructor Summary
ConstructorsConstructorDescriptionOrthomorphic
(ENPair point, Ellipsoid sphere, Datum datum) Create an instance of Orthomorphic based on a specified ENPairOrthomorphic
(Position p, Ellipsoid e, Datum d) Create a new Orthomorphic instance for a location specified by Position, Ellipsoid and Datum -
Method Summary
Modifier and TypeMethodDescriptionprotected double
a()
abstract Orthomorphic.Complex
cfb1
(int i) abstract Orthomorphic.Complex
cfb2
(int i) abstract int
cfblen()
abstract double
cfi
(int i) abstract int
cfilen()
abstract double
cfl
(int i) abstract int
cfllen()
abstract double
e0()
abstract double
Calculate Grid Convergence - the angle between the North axis and True North at this particular point.abstract double
lamda0()
abstract double
n0()
abstract double
phi0()
toEN()
Get a 2-dimensional representation of the projected position as easting and northing distancesMethods inherited from class uk.co.mccombe.mapping.CoordinateSystem
defaultDatum, defaultEllipsoid, getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString, toString
-
Constructor Details
-
Orthomorphic
Create a new Orthomorphic instance for a location specified by Position, Ellipsoid and Datum- Parameters:
p
- A Position object defining the locatione
- The Ellipsoid used as a referenced
- The Datum used
-
Orthomorphic
Create an instance of Orthomorphic based on a specified ENPair- Parameters:
point
- An ENPair containing the Easting and Northing distances of the pointsphere
- The Ellipsoid to usedatum
- The Datum to use with this instance
-
-
Method Details
-
toEN
Description copied from class:Projection
Get a 2-dimensional representation of the projected position as easting and northing distances- Specified by:
toEN
in classProjection
- Returns:
- An ENPair representing the projected Position
-
gridConvergence
public abstract double gridConvergence()Description copied from class:Projection
Calculate Grid Convergence - the angle between the North axis and True North at this particular point.- Specified by:
gridConvergence
in classProjection
- Returns:
- Grid convergence (radians)
-
a
protected double a() -
n0
public abstract double n0() -
e0
public abstract double e0() -
phi0
public abstract double phi0() -
lamda0
public abstract double lamda0() -
cfi
public abstract double cfi(int i) -
cfilen
public abstract int cfilen() -
cfl
public abstract double cfl(int i) -
cfllen
public abstract int cfllen() -
cfblen
public abstract int cfblen() -
cfb1
-
cfb2
-