|
|||||||||
| 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.IrishGrid
public class IrishGrid
Implementation of the Irish Grid. Note that this is used throughout the island of Ireland, North and South and that the OSGB grid is not applicable. For a complete description of the Irish Grid, see http://www.osni.gov.uk/2.1_the_irish_grid.pdf
| Field Summary |
|---|
| Fields inherited from class mccombe.mapping.TransverseMercator |
|---|
northernHemisphere, zone |
| Fields inherited from class mccombe.mapping.CoordinateSystem |
|---|
locus, ref, sph |
| Constructor Summary | |
|---|---|
IrishGrid(ENPair point)
Create a new IrishGrid point for a specific pair of Eastings and Northings. |
|
IrishGrid(ENPair point,
Ellipsoid e,
Datum d)
Create a new IrishGrid point for a specific pair of Eastings and Northings, Ellipsoid and Datum. |
|
IrishGrid(Position p,
Ellipsoid e,
Datum d)
Create a new IrishGrid point for a specific Position, Ellipsoid and Datum. |
|
| Method Summary | |
|---|---|
Datum |
defaultDatum()
Defines the default Datum for this system |
Ellipsoid |
defaultEllipsoid()
Define the default Ellipsoid for this system |
double |
e0()
False Eastimg (metres) |
double |
f0()
Define scale factor |
double |
lamda0()
The central meridian |
static IrishGrid |
makePoint(java.lang.String gridref,
Ellipsoid e,
Datum d)
Factory method to create a new IrishGrid point using a String containing a grid reference. |
double |
n0()
Define false northing |
double |
phi0()
Define latitude of true origin |
java.lang.String |
toString()
Provide a String representation for this IrishGrid |
protected static boolean |
validateEN(ENPair p)
|
| 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 IrishGrid(Position p,
Ellipsoid e,
Datum d)
p - Positione - Ellipsoid to use with this instanced - Datum to use
public IrishGrid(ENPair point,
Ellipsoid e,
Datum d)
point - ENPair containing the easting and northing valuese - Ellipsoid to use with this instanced - Datum to usepublic IrishGrid(ENPair point)
point - ENPair containing the easting and northing values| Method Detail |
|---|
public static IrishGrid makePoint(java.lang.String gridref,
Ellipsoid e,
Datum d)
throws GridFormatException
gridref - A valid Irish grid reference String (e.g. R 212 712)e - Ellipsoid to used - Datum to use
GridFormatException - In case of syntax error in he grid referencepublic Datum defaultDatum()
defaultDatum in class CoordinateSystempublic Ellipsoid defaultEllipsoid()
defaultEllipsoid in class CoordinateSystempublic java.lang.String toString()
toString in class CoordinateSystempublic double lamda0()
lamda0 in class TransverseMercatorpublic double e0()
e0 in class TransverseMercatorpublic double n0()
n0 in class TransverseMercatorpublic double phi0()
phi0 in class TransverseMercatorpublic double f0()
f0 in class TransverseMercatorprotected static boolean validateEN(ENPair p)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||