Interface PrimeMeridian
- All Superinterfaces:
IdentifiedObject
- All Known Implementing Classes:
DefaultPrimeMeridian
A prime meridian defines the origin from which longitude values are determined. The
name
initial
value is "Greenwich", and that value shall be used when the greenwich longitude
value is zero.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
-
Field Summary
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionUnit<Angle>
Returns the angular unit of the Greenwich longitude.double
Longitude of the prime meridian measured from the Greenwich meridian, positive eastward.Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Method Details
-
getGreenwichLongitude
double getGreenwichLongitude()Longitude of the prime meridian measured from the Greenwich meridian, positive eastward. ThegreenwichLongitude
initial value is zero, and that value shall be used when the meridian name value is "Greenwich".- Returns:
- The prime meridian Greenwich longitude, in angular unit.
-
getAngularUnit
Unit<Angle> getAngularUnit()Returns the angular unit of the Greenwich longitude.- Returns:
- The angular unit of greenwich longitude.
-