|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmccombe.mapping.CoordinateSystem
mccombe.mapping.Spherical
public class Spherical
Spherical Coordinates - an implementation of positional coordinates based on Latitude and Longitude. Whilst often not explicitly stated in practice, these are relative to a specified datum and ellipsoid.
Field Summary |
---|
Fields inherited from class mccombe.mapping.CoordinateSystem |
---|
locus, ref, sph |
Constructor Summary | |
---|---|
protected |
Spherical()
Creates a new instance of Spherical |
|
Spherical(LatLong latLon,
Ellipsoid e,
Datum d)
Create a new Spherical Coordinate set based on Lat/Lon, the Ellipsoid and Datum |
|
Spherical(Position p,
Ellipsoid e,
Datum d)
Create a new Spherical Coordinate set based on a specific Position, Ellipsoid and Datum |
Method Summary | |
---|---|
Datum |
defaultDatum()
Define the DefaultDatum for this coordinate set |
Ellipsoid |
defaultEllipsoid()
Define the Default Ellipsoid for this point |
java.lang.String |
toString()
Provide a String representing this coordinate set |
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 |
---|
protected Spherical()
public Spherical(LatLong latLon, Ellipsoid e, Datum d)
latLon
- A LatLong object containing the Latitude and Longitude of the pointe
- The Ellipsoid used to define Lat & Lond
- The Datum used to determine the Lat / Lonpublic Spherical(Position p, Ellipsoid e, Datum d)
p
- The Positione
- The Ellipsoid to use when translating this Positiond
- The Datum to use when representing this point.Method Detail |
---|
public Datum defaultDatum()
defaultDatum
in class CoordinateSystem
public Ellipsoid defaultEllipsoid()
defaultEllipsoid
in class CoordinateSystem
public java.lang.String toString()
toString
in class CoordinateSystem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |