public class GeoCalc
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
GeoCalc.GeoData |
Constructor and Description |
---|
GeoCalc(IProjection proj) |
Modifier and Type | Method and Description |
---|---|
protected GeoCalc.GeoData |
distanceAzimutVincenty(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2)
Returns the distance between two geographic points on the ellipsoid
and the forward and reverse azimuths between these points.
|
double |
distanceEli(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2) |
double |
distanceGeo(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2) |
double |
distanceVincenty(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2)
Algrothims from Geocentric Datum of Australia Technical Manual
http://www.anzlic.org.au/icsm/gdatum/chapter4.html
This page last updated 11 May 1999
Computations on the Ellipsoid
There are a number of formulae that are available
to calculate accurate geodetic positions,
azimuths and distances on the ellipsoid.
|
protected GeoCalc.GeoData |
getPointVincenty(java.awt.geom.Point2D pt,
double azimut,
double dist)
Returns the lat and long of projected point and reverse azimuth
given a reference point and a distance and azimuth to project.
|
double |
surfaceSphere(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2,
java.awt.geom.Point2D pt3) |
public GeoCalc(IProjection proj)
proj
- public double distanceGeo(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
public double distanceEli(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
public double distanceVincenty(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
protected GeoCalc.GeoData distanceAzimutVincenty(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
pt1
- pt2
- protected GeoCalc.GeoData getPointVincenty(java.awt.geom.Point2D pt, double azimut, double dist)
pt
- azimut
- dist
- public double surfaceSphere(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2, java.awt.geom.Point2D pt3)