public class GeoCalc extends 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(Point2D pt1,
Point2D pt2)
Returns the distance between two geographic points on the ellipsoid
and the forward and reverse azimuths between these points.
|
double |
distanceEli(Point2D pt1,
Point2D pt2) |
double |
distanceGeo(Point2D pt1,
Point2D pt2) |
double |
distanceVincenty(Point2D pt1,
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(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(Point2D pt1,
Point2D pt2,
Point2D pt3) |
public GeoCalc(IProjection proj)
proj
- public double distanceVincenty(Point2D pt1, Point2D pt2)
protected GeoCalc.GeoData distanceAzimutVincenty(Point2D pt1, Point2D pt2)
pt1
- pt2
- protected GeoCalc.GeoData getPointVincenty(Point2D pt, double azimut, double dist)
pt
- azimut
- dist
-