Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
G
I
L
M
N
R
S
T
A
ADD_TO_MAP
- Static variable in class com.AndrewGray.geoutils.
MapPoint
Constructor option flag indicating that this point should be added to the MercatorMap
addMapPoint(MapPoint)
- Method in class com.AndrewGray.geoutils.
MercatorMap
Add a new MapPoint to this map
applyBearingAndDistance(LatLong, double, double)
- Method in class com.AndrewGray.geoutils.
RhumbLine
compute destination LatLong given an origin, bearing and km distance
applyBearingAndDistance(LatLong, double, double)
- Method in class com.AndrewGray.geoutils.
GreatCircle
compute destination LatLong given origin, bearing and distance.
B
bearing2String(double)
- Static method in class com.AndrewGray.geoutils.
GeoConv
convert a radian bearing value to a user readable bearing string
C
calculateMagneticVariation(LatLong)
- Method in class com.AndrewGray.geoutils.
GeoMagVar
Return the predicted geomagnetic variation (in radians) at the given LatLong using the current settings for height and date.
clear()
- Method in class com.AndrewGray.geoutils.
MapPoint
clear this MapPoint back to undefined status
com.AndrewGray.geoutils
- package com.AndrewGray.geoutils
This package contains a collection of classes written by
Andrew Gray
for the calculation of Great Circles, the manipulation of Lat/Long pairs, and the conversion between Mercator map coordinates.
D
DEGREES_TO_RADIANS
- Static variable in class com.AndrewGray.geoutils.
GeoConv
degrees2radians(double)
- Static method in class com.AndrewGray.geoutils.
GeoConv
convenience method converts degrees to radians
E
equalTo(MapPoint)
- Method in class com.AndrewGray.geoutils.
MapPoint
check whether this MapPoint represents the same point on the map as another.
G
GeoConv
- class com.AndrewGray.geoutils.
GeoConv
.
series of static methods for use by other geoutils classes
GeoConv()
- Constructor for class com.AndrewGray.geoutils.
GeoConv
GeoMagVar
- class com.AndrewGray.geoutils.
GeoMagVar
.
Class calculates the geomagnetic variation at a given LatLong using the IGRF2000 model.
GeoMagVar()
- Constructor for class com.AndrewGray.geoutils.
GeoMagVar
create a new GeoMagVar calculator.
getBearing(LatLong, LatLong)
- Method in class com.AndrewGray.geoutils.
RhumbLine
compute the rhumb line course (constant true course) between two LatLongs.
getBearing(LatLong, LatLong)
- Method in class com.AndrewGray.geoutils.
GreatCircle
Calculate the initial bearing between two points on a great circle.
getDatelineTraversalID()
- Method in class com.AndrewGray.geoutils.
GreatCircle
Returns the id of point last computed by getTrack() which crosses Longitude 180 degrees.
getDistance(LatLong, LatLong)
- Method in class com.AndrewGray.geoutils.
RhumbLine
compute the rhumb line distance (constant true course) between two LatLongs.
getDistance(LatLong, LatLong)
- Method in class com.AndrewGray.geoutils.
GreatCircle
Method to compute Great Circle distance between two points.
getEarthRadius()
- Method in class com.AndrewGray.geoutils.
GreatCircle
Get the current radius of the Earth used in calculation
getHeight()
- Method in class com.AndrewGray.geoutils.
MercatorMap
Get current height of this map
getIntersection(LatLong, double, LatLong, double)
- Method in class com.AndrewGray.geoutils.
GreatCircle
Computes the LatLong of the intersection of two great circles given both origin LatLongs and initial bearings.
getLatitude()
- Method in class com.AndrewGray.geoutils.
LatLong
returns the latitude represented by this LatLong
getLatitudeD()
- Method in class com.AndrewGray.geoutils.
LatLong
returns the latitude represented by this LatLong
getLatitudeDMS()
- Method in class com.AndrewGray.geoutils.
LatLong
returns the latitude represented by this LatLong
getLatLong()
- Method in class com.AndrewGray.geoutils.
MapPoint
Get the LatLong of this MapPoint
getLatLongRawString()
- Method in class com.AndrewGray.geoutils.
MapPoint
return String representation of lat/long.
getLongitude()
- Method in class com.AndrewGray.geoutils.
LatLong
returns the longitude represented by this LatLong
getLongitudeD()
- Method in class com.AndrewGray.geoutils.
LatLong
returns the longitude represented by this LatLong
getLongitudeDMS()
- Method in class com.AndrewGray.geoutils.
LatLong
returns the longitude represented by this LatLong
getMapPoints()
- Method in class com.AndrewGray.geoutils.
MercatorMap
Get the list of MapPoint current defined in this map
getOx()
- Method in class com.AndrewGray.geoutils.
MercatorMap
get the X origin of this map
getOy()
- Method in class com.AndrewGray.geoutils.
MercatorMap
get the Y origin of this map
getPoint()
- Method in class com.AndrewGray.geoutils.
MapPoint
get the x,y coordinates of this point
getRawString()
- Method in class com.AndrewGray.geoutils.
LatLong
return String representation of this LatLong.
getString()
- Method in class com.AndrewGray.geoutils.
MapPoint
get the comment string associated with this MapPoint
getTrack(LatLong, LatLong, double)
- Method in class com.AndrewGray.geoutils.
GreatCircle
Computes a track between two points given KM distance between waypoints.
getWidth()
- Method in class com.AndrewGray.geoutils.
MercatorMap
Get current width of this map
getX()
- Method in class com.AndrewGray.geoutils.
MapPoint
Get the x coordinate of this MapPoint
getY()
- Method in class com.AndrewGray.geoutils.
MapPoint
Get the y coordinate of this MapPoint
GreatCircle
- class com.AndrewGray.geoutils.
GreatCircle
.
implements various mathematical methods related to Great Circle calculations.
GreatCircle.DistanceTooLargeException
- exception com.AndrewGray.geoutils.
GreatCircle.DistanceTooLargeException
.
thrown by applyBearingAndDistance and getTrack if the specified distance is larger than Math.PI/4 (~5000km)
GreatCircle.DistanceTooLargeException(GreatCircle)
- Constructor for class com.AndrewGray.geoutils.
GreatCircle.DistanceTooLargeException
GreatCircle()
- Constructor for class com.AndrewGray.geoutils.
GreatCircle
Creates a new Great Circle object
I
isExtremeLatitude()
- Method in class com.AndrewGray.geoutils.
LatLong
Return true if this LatLong represents an extreme latitude.
isLatitudeNorth()
- Method in class com.AndrewGray.geoutils.
LatLong
return true if latitude is North of equator
isLongitudeEast()
- Method in class com.AndrewGray.geoutils.
LatLong
return true if longitude is East of meridian
isSet()
- Method in class com.AndrewGray.geoutils.
MapPoint
Check whether this MapPoint is currently set
L
LatLong
- class com.AndrewGray.geoutils.
LatLong
.
class defining LatLong data type for storage and manipulation of Latitude/Longitude pairs.
LatLong()
- Constructor for class com.AndrewGray.geoutils.
LatLong
create LatLong initialised at the meridian and on equator
LatLong(double, double)
- Constructor for class com.AndrewGray.geoutils.
LatLong
Create a LatLong from 2 doubles representing Radian lat/long
LatLong(double, double, boolean)
- Constructor for class com.AndrewGray.geoutils.
LatLong
Create a LatLong from 2 doubles representing either Degrees or Radians lat/long
LatLong(int[], int[])
- Constructor for class com.AndrewGray.geoutils.
LatLong
This contructor takes two int array of Lat and Long
LatLong(int, int, int, int, int, int)
- Constructor for class com.AndrewGray.geoutils.
LatLong
This contructor takes six ints as Lat(Degrees,Minutes) and Long(Degrees,Minutes)
LatLong(String)
- Constructor for class com.AndrewGray.geoutils.
LatLong
create a new LatLong from a string of the format returned by getRawString
M
MapPoint
- class com.AndrewGray.geoutils.
MapPoint
.
Class defines methods to manipulate points on a true mercator map using either their x,y (mercator) coordinates or LatLong.
MapPoint(MercatorMap)
- Constructor for class com.AndrewGray.geoutils.
MapPoint
Create a new undefined MapPoint given the specified MercatorMap without adding it to the map.
MapPoint(MercatorMap, int)
- Constructor for class com.AndrewGray.geoutils.
MapPoint
Create a new undefined MapPoint given the specified MercatorMap.
MapPoint(MercatorMap, LatLong)
- Constructor for class com.AndrewGray.geoutils.
MapPoint
Create a new MapPoint at the specified LatLong and given the specified MercatorMap.
MapPoint(MercatorMap, LatLong, int)
- Constructor for class com.AndrewGray.geoutils.
MapPoint
Create a new MapPoint at the specified LatLong and given the specified MercatorMap.
MapPoint(MercatorMap, Point)
- Constructor for class com.AndrewGray.geoutils.
MapPoint
Create a new MapPoint at the specified x,y coordinate and given the specified MercatorMap.
MapPoint(MercatorMap, Point, int)
- Constructor for class com.AndrewGray.geoutils.
MapPoint
Create a new MapPoint at the specified x,y coordinate and given the specified MercatorMap.
MercatorMap
- class com.AndrewGray.geoutils.
MercatorMap
.
class defines a notional perfect mercator map with specified width and height.
MercatorMap(int, int)
- Constructor for class com.AndrewGray.geoutils.
MercatorMap
Create a new MercatorMap of the specified width and height.
N
NONE
- Static variable in class com.AndrewGray.geoutils.
MapPoint
Constructor option flag when no setup options are required.
R
radians2degrees(double)
- Static method in class com.AndrewGray.geoutils.
GeoConv
convenience method converts radians to degrees
reset()
- Method in class com.AndrewGray.geoutils.
MapPoint
recompute this MapPoint x,y coordinates based upon its LatLong.
RhumbLine
- class com.AndrewGray.geoutils.
RhumbLine
.
Collection of algorithms related to Rhumb line (constant true bearing) calculations.
RhumbLine()
- Constructor for class com.AndrewGray.geoutils.
RhumbLine
Create a new RhumbLine object
S
set(LatLong)
- Method in class com.AndrewGray.geoutils.
MapPoint
Set this MapPoint given its LatLong
set(Point)
- Method in class com.AndrewGray.geoutils.
MapPoint
Set this MapPoint given its x,y mercator coordinates
set(String)
- Method in class com.AndrewGray.geoutils.
MapPoint
Set this map point given the raw string as produced by
getLatLongRawString
.
setDate(Calendar)
- Method in class com.AndrewGray.geoutils.
GeoMagVar
set the date for which subsequent geo-variance calculations are performed
setEarthRadius(double)
- Method in class com.AndrewGray.geoutils.
GreatCircle
Set the radius of the Earth for calculations that involve it.
setHeight(double)
- Method in class com.AndrewGray.geoutils.
GeoMagVar
set the date for which subsequent geo-variance calculations are performed
setHeight(int)
- Method in class com.AndrewGray.geoutils.
MercatorMap
set the height of this map
setOx(int)
- Method in class com.AndrewGray.geoutils.
MercatorMap
set the X origin of this map
setOy(int)
- Method in class com.AndrewGray.geoutils.
MercatorMap
set Y origin of this map
setString(String)
- Method in class com.AndrewGray.geoutils.
MapPoint
set the comment string associated with this MapPoint
setWidth(int)
- Method in class com.AndrewGray.geoutils.
MercatorMap
set the width of this map
T
toString()
- Method in class com.AndrewGray.geoutils.
LatLong
Produce human readable representation of this LatLong with degrees and minutes only.
toString()
- Method in class com.AndrewGray.geoutils.
MapPoint
Produce a human readable representation of this MapPoint.
toStringL()
- Method in class com.AndrewGray.geoutils.
LatLong
Produce a human readable representation of this LatLong with degrees, minutes and seconds.
A
B
C
D
E
G
I
L
M
N
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES