|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.cs.CRSIdentifiable org.deegree.cs.components.Datum org.deegree.cs.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(IEllipsoid ellipsoid,
CRSCodeType code,
String name)
A datum with given ellipsoid and a GreenWich prime-meridian, with no helmert. |
|
GeodeticDatum(IEllipsoid ellipsoid,
Helmert toWGS84,
CRSCodeType[] codes)
A datum with given ellipsoid and a GreenWich prime-meridian. |
|
GeodeticDatum(IEllipsoid ellipsoid,
Helmert toWGS84,
CRSCodeType code,
String name)
A datum with given ellipsoid and a GreenWich prime-meridian. |
|
GeodeticDatum(IEllipsoid ellipsoid,
IPrimeMeridian primeMeridian,
CRSResource id)
|
|
GeodeticDatum(IEllipsoid ellipsoid,
IPrimeMeridian primeMeridian,
Helmert toWGS84,
CRSCodeType[] codes)
A datum with given ellipsoid and a prime-meridian. |
|
GeodeticDatum(IEllipsoid ellipsoid,
IPrimeMeridian primeMeridian,
Helmert toWGS84,
CRSCodeType[] codes,
String[] names,
String[] versions,
String[] descriptions,
String[] areasOfUse)
|
|
GeodeticDatum(IEllipsoid ellipsoid,
IPrimeMeridian primeMeridian,
Helmert toWGS84,
CRSCodeType code,
String name,
String version,
String description,
String areaOfUse)
|
|
GeodeticDatum(IEllipsoid ellipsoid,
IPrimeMeridian primeMeridian,
Helmert toWGS84,
CRSResource id)
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
IEllipsoid |
getEllipsoid()
|
IPrimeMeridian |
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(IPrimeMeridian primeMeridian)
|
void |
setToWGS84(Helmert toWGS84Conversion)
|
String |
toString()
|
Methods inherited from class org.deegree.cs.CRSIdentifiable |
---|
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getId, 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 |
Methods inherited from interface org.deegree.cs.CRSResource |
---|
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
Methods inherited from interface org.deegree.commons.tom.Object |
---|
getId |
Field Detail |
---|
public static final GeodeticDatum WGS84
Constructor Detail |
---|
public GeodeticDatum(IEllipsoid ellipsoid, IPrimeMeridian primeMeridian, Helmert toWGS84, CRSResource 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(IEllipsoid ellipsoid, IPrimeMeridian primeMeridian, CRSResource id)
ellipsoid
- of this datumprimeMeridian
- to which this datum is defined.id
- containing all relevant id data.public GeodeticDatum(IEllipsoid ellipsoid, IPrimeMeridian 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(IEllipsoid 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(IEllipsoid ellipsoid, IPrimeMeridian 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(IEllipsoid ellipsoid, IPrimeMeridian 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(IEllipsoid 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(IEllipsoid ellipsoid, CRSCodeType code, String name)
ellipsoid
- of this datumcode
- name
- Method Detail |
---|
public final IEllipsoid getEllipsoid()
getEllipsoid
in interface IGeodeticDatum
public final IPrimeMeridian getPrimeMeridian()
getPrimeMeridian
in interface IGeodeticDatum
public final void setPrimeMeridian(IPrimeMeridian primeMeridian)
setPrimeMeridian
in interface IGeodeticDatum
primeMeridian
- public final Helmert getWGS84Conversion()
getWGS84Conversion
in interface IGeodeticDatum
public final void setToWGS84(Helmert toWGS84Conversion)
setToWGS84
in interface IGeodeticDatum
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 CRSIdentifiable
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |