Interface PrimeMeridian
-
- All Superinterfaces:
IdentifiedObject
- All Known Implementing Classes:
DefaultPrimeMeridian
public interface PrimeMeridian extends IdentifiedObject
A prime meridian defines the origin from which longitude values are determined. Thename
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Unit<Angle>
getAngularUnit()
Returns the angular unit of the Greenwich longitude.double
getGreenwichLongitude()
Longitude of the prime meridian measured from the Greenwich meridian, positive eastward.-
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
-
-
-
Method Detail
-
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.
-
-