|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.geoloc.Earth
public class Earth
Defines the shape of the earth ellipsoid.
| Constructor Summary | |
|---|---|
Earth()
Spherical earth with canonical radius. |
|
Earth(double radius)
Create a spherical earth. |
|
Earth(double equatorRadius,
double poleRadius,
double reciprocalFlattening)
Create an ellipsoidal earth. |
|
Earth(double equatorRadius,
double poleRadius,
double reciprocalFlattening,
java.lang.String name)
_more_ |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
_more_ |
double |
getEccentricity()
Get the Eccentricity property. |
double |
getEccentricitySquared()
Get the EccentricitySquared property. |
double |
getEquatorRadius()
Get the EquatorRadius property. |
double |
getFlattening()
Get the Flattening property. |
double |
getMajor()
Get the equatorial radius (semimajor axis) of the earth, in meters. |
double |
getMinor()
Get the polar radius (semiminor axis) of the earth, in meters. |
java.lang.String |
getName()
Get the Name property. |
double |
getPoleRadius()
Get the PoleRadius property. |
static double |
getRadius()
Get radius of spherical earth, in meters |
void |
setEccentricity(double value)
Set the Eccentricity property. |
void |
setEccentricitySquared(double value)
Set the EccentricitySquared property. |
void |
setEquatorRadius(double value)
Set the EquatorRadius property. |
void |
setFlattening(double value)
Set the Flattening property. |
void |
setName(java.lang.String value)
Set the Name property. |
void |
setPoleRadius(double value)
Set the PoleRadius property. |
java.lang.String |
toString()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Earth()
public Earth(double radius)
radius - radius of spherical earth.
public Earth(double equatorRadius,
double poleRadius,
double reciprocalFlattening)
equatorRadius - equatorial radius (semimajor axis) in meters, must be specifiedpoleRadius - polar radius (semiminor axis) in metersreciprocalFlattening - inverse flattening = 1/flattening = a / (a-b)
public Earth(double equatorRadius,
double poleRadius,
double reciprocalFlattening,
java.lang.String name)
equatorRadius - _more_poleRadius - _more_reciprocalFlattening - _more_name - _more_| Method Detail |
|---|
public static double getRadius()
public double getMajor()
public double getMinor()
public void setName(java.lang.String value)
value - The new value for Namepublic java.lang.String getName()
public void setEccentricity(double value)
value - The new value for Eccentricitypublic double getEccentricity()
public void setEccentricitySquared(double value)
value - The new value for EccentricitySquaredpublic double getEccentricitySquared()
public void setEquatorRadius(double value)
value - The new value for EquatorRadiuspublic double getEquatorRadius()
public void setPoleRadius(double value)
value - The new value for PoleRadiuspublic double getPoleRadius()
public void setFlattening(double value)
value - The new value for Flatteningpublic double getFlattening()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - _more_
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||