|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.projection.Ellipsoid
| Fields inherited from interface com.moximedia.aims.types.MeasureUnitsType |
MEASURE_UNITS_DECIMAL_DEGREES, MEASURE_UNITS_FEET, MEASURE_UNITS_IMPERIAL, MEASURE_UNITS_METERS, MEASURE_UNITS_METRES, MEASURE_UNITS_METRIC, MEASURE_UNITS_UNKNOWN, MEASURE_UNITS_US, MEASURE_UNITS_YARDS |
| Constructor Summary | |
Ellipsoid()
|
|
Ellipsoid(java.lang.String name,
double semiMajorAxis,
double inverseFlattening,
int units)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(Ellipsoid anotherEllipsoid)
|
Ellipsoid |
getCopy()
|
double |
getCourse(AimsPoint pt1,
AimsPoint pt2)
Returns the distance between two geographic points. |
double |
getCourse(double lat1,
double lon1,
double lat2,
double lon2)
Returns the distance between two geographic points. |
double |
getDistance(AimsPoint pt1,
AimsPoint pt2)
Returns the distance between two geographic points. |
double |
getDistance(double lat1,
double lon1,
double lat2,
double lon2)
Returns the distance between two geographic points. |
double[] |
getDistanceAndCourse(AimsPoint pt1,
AimsPoint pt2)
Returns an array containin distance, course, and return course between two geographic points. |
double[] |
getDistanceAndCourse(double lat1,
double lon1,
double lat2,
double lon2)
Returns an array containin distance, course, and return course between two geographic points. |
double |
getEccentricity()
|
static Ellipsoid |
getEllipsoid(java.lang.String name)
|
double |
getInverseFlattening()
|
java.lang.String |
getName()
|
AimsPoint |
getPosition(AimsPoint fromPt,
double distance,
double bearing)
Returns a point position calculated at the specified distance and bearing from the specified geographic point. |
double[] |
getPosition(double lat,
double lon,
double distance,
double bearing)
Returns an array containing the latitude and longitude of the position calculated at the specified distance and bearing from the specified geographic point. |
double |
getSemiMajorAxis()
|
double |
getSemiMinorAxis()
|
int |
getUnits()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Ellipsoid ELLIPSOID_AIRY_1830
public static final Ellipsoid ELLIPSOID_AIRY_MODIFIED_1849
public static final Ellipsoid ELLIPSOID_AUSTRALIAN_NATIONAL_SPHEROID
public static final Ellipsoid ELLIPSOID_BESSEL_1841
public static final Ellipsoid ELLIPSOID_BESSEL_MODIFIED
public static final Ellipsoid ELLIPSOID_BESSEL_NAMIBIA
public static final Ellipsoid ELLIPSOID_CLARKE_1866
public static final Ellipsoid ELLIPSOID_CLARKE_1880_BENOIT
public static final Ellipsoid ELLIPSOID_CLARKE_1880_IGN
public static final Ellipsoid ELLIPSOID_CLARKE_1880_RGS
public static final Ellipsoid ELLIPSOID_CLARKE_1880_ARC
public static final Ellipsoid ELLIPSOID_CLARKE_1880_SGA_1922
public static final Ellipsoid ELLIPSOID_EVEREST_1830_1937_ADJUSTMENT
public static final Ellipsoid ELLIPSOID_EVEREST_1830_1967_DEFINITION
public static final Ellipsoid ELLIPSOID_EVEREST_1830_MODIFIED
public static final Ellipsoid ELLIPSOID_GRS_1980
public static final Ellipsoid ELLIPSOID_HELMERT_1906
public static final Ellipsoid ELLIPSOID_INDONESIAN_NATIONAL_SPHEROID
public static final Ellipsoid ELLIPSOID_INTERNATIONAL_1924
public static final Ellipsoid ELLIPSOID_KRASSOWSKY_1940
public static final Ellipsoid ELLIPSOID_NWL_9D
public static final Ellipsoid ELLIPSOID_PLESSIS_1817
public static final Ellipsoid ELLIPSOID_STRUVE_1860
public static final Ellipsoid ELLIPSOID_WAR_OFFICE
public static final Ellipsoid ELLIPSOID_WGS_84
public static final Ellipsoid ELLIPSOID_GEM_10C
public static final Ellipsoid ELLIPSOID_OSU86F
public static final Ellipsoid ELLIPSOID_OSU91A
public static final Ellipsoid ELLIPSOID_GRS_1967
public static final Ellipsoid ELLIPSOID_AVERAGE_TERRESTRIAL_SYSTEM_1977
public static final Ellipsoid ELLIPSOID_WGS_72
public static final Ellipsoid ELLIPSOID_EVEREST_1830_1962_DEFINITION
public static final Ellipsoid ELLIPSOID_EVEREST_1830_1975_DEFINITION
public static final Ellipsoid ELLIPSOID_XIAN_1980
| Constructor Detail |
public Ellipsoid()
public Ellipsoid(java.lang.String name,
double semiMajorAxis,
double inverseFlattening,
int units)
| Method Detail |
public java.lang.Object clone()
public Ellipsoid getCopy()
public java.lang.String getName()
public AimsPoint getPosition(AimsPoint fromPt,
double distance,
double bearing)
fromPt - An AimsPoint object containing geographic coordinates. Note
that degrees west should be negative.distance - The offset distance, in kilometres.bearing - The course bearing, in degrees.
public double[] getPosition(double lat,
double lon,
double distance,
double bearing)
lat - The latitude of the origin point.lon - The longitude of the origin point. Degrees west should be negative.distance - The offset distance, in metres.bearing - The course bearing, in degrees.
public boolean equals(Ellipsoid anotherEllipsoid)
public static final Ellipsoid getEllipsoid(java.lang.String name)
public double getEccentricity()
public double getInverseFlattening()
public double getSemiMajorAxis()
public double getSemiMinorAxis()
public int getUnits()
public double getDistance(double lat1,
double lon1,
double lat2,
double lon2)
lat1 - The latitude of the first point.lon1 - The longitude of the first point. Degrees west should be negative.lat2 - The latitude of the second point.lon2 - The longitude of the second point. Degrees west should be negative.
public double getDistance(AimsPoint pt1,
AimsPoint pt2)
pt1 - The first position.pt2 - The second position.
public double getCourse(double lat1,
double lon1,
double lat2,
double lon2)
lat1 - The latitude of the first point.lon1 - The longitude of the first point. Degrees west should be negative.lat2 - The latitude of the second point.lon2 - The longitude of the second point. Degrees west should be negative.
public double getCourse(AimsPoint pt1,
AimsPoint pt2)
pt1 - The first position.pt2 - The second position.
public double[] getDistanceAndCourse(double lat1,
double lon1,
double lat2,
double lon2)
lat1 - The latitude of the first point.lon1 - The longitude of the first point. Degrees west should be negative.lat2 - The latitude of the second point.lon2 - The longitude of the second point. Degrees west should be negative.
public double[] getDistanceAndCourse(AimsPoint pt1,
AimsPoint pt2)
pt1 - The first position.pt2 - The second position.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||