|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.unidata.geoloc.Earth
ucar.unidata.geoloc.EarthEllipsoid
public final class EarthEllipsoid
Type-safe enumeration of Earth Ellipsoids. Follows EPSG.
Field Summary | |
---|---|
static EarthEllipsoid |
Airy1830
Airy 1830 ellipsoid from EPSG database version 6.14. |
static EarthEllipsoid |
WGS84
Ellipsoid for WGS84 (edavis - correct 1/f as per EPSG database ver 6.14) |
Method Summary | |
---|---|
boolean |
equals(Object o)
Objects with same name are equal. |
static Collection<EarthEllipsoid> |
getAll()
get a collection of all defined EarthEllipsoid objects |
int |
getEpsgId()
EPSG id |
String |
getName()
EPSG name |
static EarthEllipsoid |
getType(int epsgId)
Find the EarthEllipsoid that matches this EPSG Id. |
static EarthEllipsoid |
getType(String name)
Find the EarthEllipsoid that matches this name. |
int |
hashCode()
Override Object.hashCode() to be consistent with this equals. |
String |
toString()
Same as EPSG name |
Methods inherited from class ucar.unidata.geoloc.Earth |
---|
getEccentricity, getEccentricitySquared, getEquatorRadius, getFlattening, getMajor, getMinor, getPoleRadius, getRadius, setEccentricity, setEccentricitySquared, setEquatorRadius, setFlattening, setName, setPoleRadius |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final EarthEllipsoid WGS84
public static final EarthEllipsoid Airy1830
Method Detail |
---|
public static Collection<EarthEllipsoid> getAll()
public static EarthEllipsoid getType(String name)
name
- : name to match
public static EarthEllipsoid getType(int epsgId)
epsgId
- : epsg Id to match
public String getName()
getName
in class Earth
public int getEpsgId()
public String toString()
toString
in class Earth
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Earth
o
- test this for equals
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |