public class PrimeMeridian extends CrsIdentifiable
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
Constructor and Description |
---|
PrimeMeridian(CrsId crsId,
String name,
double longitude)
Constructs an instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getLongitude()
Returns the angle of this meridian relative to Greenwich Meridian.
|
int |
hashCode() |
getCrsId, getName
public double getLongitude()
public boolean equals(Object o)
equals
in class CrsIdentifiable
public int hashCode()
hashCode
in class CrsIdentifiable
Copyright © 2015 geolatte.org. All rights reserved.