|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.cs.Info
org.deegree_impl.model.cs.PrimeMeridian
A meridian used to take longitude measurements from.
CS_PrimeMeridian
,
Serialized FormNested Class Summary | |
private class |
PrimeMeridian.Export
Wrap a PrimeMeridian object for use with OpenGIS.
|
Nested classes inherited from class org.deegree_impl.model.cs.Info |
Info.AngularUnit, Info.LinearUnit |
Field Summary | |
static PrimeMeridian |
GREENWICH
The Greenwich meridian, with angular measures in degrees. |
private double |
longitude
The longitude value relative to the Greenwich Meridian. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
private Unit |
unit
The angular units. |
Fields inherited from class org.deegree_impl.model.cs.Info |
pool |
Constructor Summary | |
(package private) |
PrimeMeridian(java.util.Map properties,
Unit unit,
double longitude)
Creates a prime meridian, relative to Greenwich. |
|
PrimeMeridian(java.lang.String name,
Unit unit,
double longitude)
Creates a prime meridian, relative to Greenwich. |
Method Summary | |
(package private) java.lang.String |
addString(java.lang.StringBuffer buffer)
Fill the part inside "[...]". |
boolean |
equals(java.lang.Object object)
Compares the specified object with this prime meridian for equality. |
Unit |
getAngularUnit()
Returns the angular units. |
double |
getLongitude()
Returns the longitude value relative to the Greenwich Meridian. |
double |
getLongitude(Unit targetUnit)
Returns the longitude value relative to the Greenwich Meridian, expressed in the specified units. |
int |
hashCode()
Returns a hash value for this prime meridian. |
(package private) java.lang.Object |
toOpenGIS(java.lang.Object adapters)
Returns an OpenGIS interface for this prime meridian. |
Methods inherited from class org.deegree_impl.model.cs.Info |
addUnit, cachedOpenGIS, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, readResolve, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final PrimeMeridian GREENWICH
private final Unit unit
private final double longitude
Constructor Detail |
public PrimeMeridian(java.lang.String name, Unit unit, double longitude)
name
- Name to give new object.unit
- Angular units of longitude.longitude
- Longitude of prime meridian in supplied angular units East of Greenwich.PrimeMeridian(java.util.Map properties, Unit unit, double longitude)
properties
- The set of properties (see Info
).unit
- Angular units of longitude.longitude
- Longitude of prime meridian in supplied angular units East of Greenwich.Method Detail |
public double getLongitude()
CS_PrimeMeridian.getLongitude()
public double getLongitude(Unit targetUnit)
getLongitude(Unit.DEGREE)
),
no matter the underlying angular units of this prime meridian.
targetUnit
- The unit in which to express longitude.public Unit getAngularUnit()
CS_PrimeMeridian.getAngularUnit()
public int hashCode()
hashCode
in class Info
public boolean equals(java.lang.Object object)
equals
in class Info
java.lang.String addString(java.lang.StringBuffer buffer)
addString
in class Info
buffer
- The buffer to add string to.
final java.lang.Object toOpenGIS(java.lang.Object adapters)
Object
in order
to avoid too early class loading of OpenGIS interface.
toOpenGIS
in class Info
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |