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 doublea()abstract Orthomorphic.Complexcfb1(int i) abstract Orthomorphic.Complexcfb2(int i) abstract intcfblen()abstract doublecfi(int i) abstract intcfilen()abstract doublecfl(int i) abstract intcfllen()abstract doublee0()abstract doubleCalculate Grid Convergence - the angle between the North axis and True North at this particular point.abstract doublelamda0()abstract doublen0()abstract doublephi0()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:ProjectionGet a 2-dimensional representation of the projected position as easting and northing distances- Specified by:
toENin classProjection- Returns:
- An ENPair representing the projected Position
-
gridConvergence
public abstract double gridConvergence()Description copied from class:ProjectionCalculate Grid Convergence - the angle between the North axis and True North at this particular point.- Specified by:
gridConvergencein 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
-