Package org.geolatte.geom.crs
Class PrimeMeridian
- java.lang.Object
-
- org.geolatte.geom.crs.CrsIdentifiable
-
- org.geolatte.geom.crs.PrimeMeridian
-
public class PrimeMeridian extends CrsIdentifiable
A prime meridian.A prime meridian is defined by [CTS-1.00] as follows: "[The prime meridian] defines the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context. If [this object] occurs inside a [geographic coordinate reference system], then the longitude units will match those of the geographic coordinate system. If [it] occurs inside a [geo-centric coordinate reference system], then the units will be in degrees. The longitude value defines the angle of the prime meridian relative to the Greenwich Meridian. A positive value indicates the prime meridian is East of Greenwich, and a negative value indicates the prime meridian is West of Greenwich
- Author:
- Karel Maesen, Geovise BVBA creation-date: 8/4/11
-
-
Constructor Summary
Constructors Constructor Description PrimeMeridian(CrsId crsId, String name, double longitude)Constructs an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)doublegetLongitude()Returns the angle of this meridian relative to Greenwich Meridian.inthashCode()-
Methods inherited from class org.geolatte.geom.crs.CrsIdentifiable
getCrsId, getName
-
-
-
-
Method Detail
-
getLongitude
public double getLongitude()
Returns the angle of this meridian relative to Greenwich Meridian.- Returns:
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCrsIdentifiable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCrsIdentifiable
-
-