|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.crs.CRSIdentifiable org.deegree.crs.components.Datum org.deegree.crs.components.GeodeticDatum
public class GeodeticDatum
A GeodeticDatum
(aka. HorizontalDatum) holds an ellipse and a prime-meridian.
Field Summary | |
---|---|
static GeodeticDatum |
WGS84
The default WGS 1984 datum, with primeMeridian set to Greenwich and default (no) wgs84 conversion info. |
Constructor Summary | |
---|---|
GeodeticDatum(Ellipsoid ellipsoid,
CRSCodeType code,
String name)
A datum with given ellipsoid and a GreenWich prime-meridian, with no helmert. |
|
GeodeticDatum(Ellipsoid ellipsoid,
Helmert toWGS84,
CRSCodeType[] codes)
A datum with given ellipsoid and a GreenWich prime-meridian. |
|
GeodeticDatum(Ellipsoid ellipsoid,
Helmert toWGS84,
CRSCodeType code,
String name)
A datum with given ellipsoid and a GreenWich prime-meridian. |
|
GeodeticDatum(Ellipsoid ellipsoid,
PrimeMeridian primeMeridian,
CRSIdentifiable id)
|
|
GeodeticDatum(Ellipsoid ellipsoid,
PrimeMeridian primeMeridian,
Helmert toWGS84,
CRSCodeType[] codes)
A datum with given ellipsoid and a prime-meridian. |
|
GeodeticDatum(Ellipsoid ellipsoid,
PrimeMeridian primeMeridian,
Helmert toWGS84,
CRSCodeType[] codes,
String[] names,
String[] versions,
String[] descriptions,
String[] areasOfUse)
|
|
GeodeticDatum(Ellipsoid ellipsoid,
PrimeMeridian primeMeridian,
Helmert toWGS84,
CRSCodeType code,
String name,
String version,
String description,
String areaOfUse)
|
|
GeodeticDatum(Ellipsoid ellipsoid,
PrimeMeridian primeMeridian,
Helmert toWGS84,
CRSIdentifiable id)
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
Ellipsoid |
getEllipsoid()
|
PrimeMeridian |
getPrimeMeridian()
|
Helmert |
getWGS84Conversion()
|
int |
hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. |
void |
setPrimeMeridian(PrimeMeridian primeMeridian)
|
void |
setToWGS84(Helmert toWGS84Conversion)
|
String |
toString()
|
Methods inherited from class org.deegree.crs.CRSIdentifiable |
---|
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final GeodeticDatum WGS84
Constructor Detail |
---|
public GeodeticDatum(Ellipsoid ellipsoid, PrimeMeridian primeMeridian, Helmert toWGS84, CRSIdentifiable id)
ellipsoid
- of this datumprimeMeridian
- to which this datum is defined.toWGS84
- bursa-wolf parameters describing the transform from this datum into the wgs84 datum.id
- containing all relevant id data.public GeodeticDatum(Ellipsoid ellipsoid, PrimeMeridian primeMeridian, CRSIdentifiable id)
ellipsoid
- of this datumprimeMeridian
- to which this datum is defined.id
- containing all relevant id data.public GeodeticDatum(Ellipsoid ellipsoid, PrimeMeridian primeMeridian, Helmert toWGS84, CRSCodeType[] codes, String[] names, String[] versions, String[] descriptions, String[] areasOfUse)
ellipsoid
- of this datumprimeMeridian
- to which this datum is defined.toWGS84
- bursa-wolf parameters describing the transform from this datum into the wgs84 datum.codes
- names
- versions
- descriptions
- areasOfUse
- public GeodeticDatum(Ellipsoid ellipsoid, Helmert toWGS84, CRSCodeType[] codes)
ellipsoid
- of this datumtoWGS84
- bursa-wolf parameters describing the transform from this datum into the wgs84 datum.codes
- public GeodeticDatum(Ellipsoid ellipsoid, PrimeMeridian primeMeridian, Helmert toWGS84, CRSCodeType[] codes)
ellipsoid
- of this datumprimeMeridian
- to which this datum is defined.toWGS84
- bursa-wolf parameters describing the transform from this datum into the wgs84 datum.codes
- public GeodeticDatum(Ellipsoid ellipsoid, PrimeMeridian primeMeridian, Helmert toWGS84, CRSCodeType code, String name, String version, String description, String areaOfUse)
ellipsoid
- of this datumprimeMeridian
- to which this datum is defined.toWGS84
- bursa-wolf parameters describing the transform from this datum into the wgs84 datum.code
- name
- version
- description
- areaOfUse
- public GeodeticDatum(Ellipsoid ellipsoid, Helmert toWGS84, CRSCodeType code, String name)
ellipsoid
- of this datumtoWGS84
- bursa-wolf parameters describing the transform from this datum into the wgs84 datum.code
- name
- public GeodeticDatum(Ellipsoid ellipsoid, CRSCodeType code, String name)
ellipsoid
- of this datumcode
- name
- Method Detail |
---|
public final Ellipsoid getEllipsoid()
public final PrimeMeridian getPrimeMeridian()
public final void setPrimeMeridian(PrimeMeridian primeMeridian)
primeMeridian
- public final Helmert getWGS84Conversion()
public final void setToWGS84(Helmert toWGS84Conversion)
toWGS84Conversion
- the transformation to be used to convert this geodetic datum into the wgs84 datum.public boolean equals(Object other)
equals
in class CRSIdentifiable
public String toString()
toString
in class CRSIdentifiable
public int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode
in class Object
Object.hashCode()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |