Uses of Class
org.hermit.geo.Distance

Packages that use Distance
org.hermit.geo A library of various geodetic utilities for handling positions, directions and distances over the surface of the Earth, with a choice of algorithms from the fast and simple Haversine formula, to the super-accurate Vincenty formula. 
 

Uses of Distance in org.hermit.geo
 

Fields in org.hermit.geo declared as Distance
static Distance Distance.ZERO
          A distance equal to zero.
 

Methods in org.hermit.geo that return Distance
 Distance Distance.add(Distance d)
          Return the sum of this and another Distance.
 Distance Position.distance(Position pos)
          Calculate the distance between this position and another, using the haversine formula, which is based on a spherical approximation of the Earth.
abstract  Distance PointOfInterest.distance(Position pos)
          Calculate the distance from the given position to this point of interest.
 Distance PointOfInterest.POS.distance(Position pos)
          Get the distance of a given point from this point of interest.
 Distance PointOfInterest.LAT.distance(Position pos)
          Get the distance of a given point from this point of interest.
 Distance PointOfInterest.LON.distance(Position pos)
          Get the distance of a given point from this point of interest.
 Distance PointOfInterest.BAND.distance(Position pos)
          Get the distance of a given point from this point of interest.
 Distance AndoyerCalculator.distance(Position p1, Position p2)
          Calculate the distance between two positions.
abstract  Distance GeoCalculator.distance(Position p1, Position p2)
          Calculate the distance between two positions.
 Distance VincentyCalculator.distance(Position p1, Position p2)
          Calculate the distance between two positions.
 Distance HaversineCalculator.distance(Position p1, Position p2)
          Calculate the distance between two positions.
static Distance Distance.fromFeet(double feet)
          Create a Distance from a distance given in feet.
static Distance Distance.fromNm(double nmiles)
          Create a Distance from a distance given in nautical miles.
 Distance Vector.getDistance()
          Get the distance.
 Distance Position.latDistance(double lat)
          Calculate the distance between this position and a given latitude, based on a spherical approximation of the Earth.
 Distance AndoyerCalculator.latDistance(Position p1, double lat)
          Calculate the distance between a position and a given latitude.
abstract  Distance GeoCalculator.latDistance(Position p1, double lat)
          Calculate the distance between a position and a given latitude.
 Distance VincentyCalculator.latDistance(Position p1, double lat)
          Calculate the distance between a position and a given latitude.
 Distance HaversineCalculator.latDistance(Position p1, double lat)
          Calculate the distance between a position and a given latitude.
 

Methods in org.hermit.geo with parameters of type Distance
 Distance Distance.add(Distance d)
          Return the sum of this and another Distance.
 Position Position.offset(Distance distance, Azimuth azimuth)
          Calculate a second position given its offset from this one, using the current geodetic calculator -- see GeoCalculator.
 Position AndoyerCalculator.offset(Position p1, Distance distance, Azimuth azimuth)
          Calculate a second position given its offset from a given position.
abstract  Position GeoCalculator.offset(Position p1, Distance distance, Azimuth azimuth)
          Calculate a second position given its offset from a given position.
 Position VincentyCalculator.offset(Position p1, Distance distance, Azimuth azimuth)
          Calculate a second position given its offset from a given position.
 Position HaversineCalculator.offset(Position p1, Distance distance, Azimuth azimuth)
          Calculate a second position given its offset from a given position.
 

Constructors in org.hermit.geo with parameters of type Distance
Vector(Distance distance, Azimuth azimuth)
          Create a Vector from a given distance and azimuth.