|
||||||||||
| 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(java.lang.Object o)
Objects with same name are equal. |
static java.util.Collection<EarthEllipsoid> |
getAll()
get a collection of all defined EarthEllipsoid objects |
int |
getEpsgId()
EPSG id |
java.lang.String |
getName()
EPSG name |
static EarthEllipsoid |
getType(int epsgId)
Find the EarthEllipsoid that matches this EPSG Id. |
static EarthEllipsoid |
getType(java.lang.String name)
Find the EarthEllipsoid that matches this name. |
int |
hashCode()
Override Object.hashCode() to be consistent with this equals. |
java.lang.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 java.util.Collection<EarthEllipsoid> getAll()
public static EarthEllipsoid getType(java.lang.String name)
name - : name to match
public static EarthEllipsoid getType(int epsgId)
epsgId - : epsg Id to match
public java.lang.String getName()
getName in class Earthpublic int getEpsgId()
public java.lang.String toString()
toString in class Earthpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class Eartho - test this for equals
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||