Uses of Class
com.javadocmd.simplelatlng.util.LengthUnit

Packages that use LengthUnit
com.javadocmd.simplelatlng The base package for latitude and longitude utilities offered by SimpleLatLng. 
com.javadocmd.simplelatlng.util Utility classes and configuration for SimpleLatLng operation. 
com.javadocmd.simplelatlng.window A package allowing calculations on windows of latitude and longitude. 
 

Uses of LengthUnit in com.javadocmd.simplelatlng
 

Methods in com.javadocmd.simplelatlng with parameters of type LengthUnit
static double LatLngTool.distance(LatLng point1, LatLng point2, LengthUnit unit)
          Distance between two points.
static LatLng LatLngTool.travel(LatLng start, double initialBearing, double distance, LengthUnit unit)
           Calculate the end point of traveling along a great-circle path from a given starting point with a given intitial bearing for a known distance.
 

Uses of LengthUnit in com.javadocmd.simplelatlng.util
 

Fields in com.javadocmd.simplelatlng.util declared as LengthUnit
static LengthUnit LengthUnit.PRIMARY
          The primary length unit.
 

Methods in com.javadocmd.simplelatlng.util that return LengthUnit
static LengthUnit LengthUnit.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LengthUnit[] LengthUnit.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in com.javadocmd.simplelatlng.util with parameters of type LengthUnit
 double LengthUnit.convertTo(LengthUnit toUnit, double value)
          Convert a value of this unit type to the units specified in the parameters.
static double LatLngConfig.getEarthRadius(LengthUnit unit)
          Retrieve the Earth's spherical approximation radius in the desired unit.
static void LatLngConfig.setEarthRadius(double radius, LengthUnit unit)
          Sets the Earth's radius for the purposes of all future calculations in this library.
 

Uses of LengthUnit in com.javadocmd.simplelatlng.window
 

Methods in com.javadocmd.simplelatlng.window with parameters of type LengthUnit
 double RectangularWindow.getHeight(LengthUnit unit)
          Returns the height of the window.
 double CircularWindow.getRadius(LengthUnit unit)
          Gets the radius of this window in a length unit.
 double RectangularWindow.getWidth(LengthUnit unit)
          Returns the width at the mid-line of the window.
static double LatLngWindow.latitudeDeltaToLength(double deltaLat, LengthUnit unit)
          Converts a latitude degree arc to the length of that arc.
static double LatLngWindow.lengthToLatitudeDelta(double length, LengthUnit unit)
          Converts a length measurement into the latitude that that length spans.
static double LatLngWindow.lengthToLongitudeDelta(double length, LengthUnit unit, double latitude)
          Converts a length measurement into the longitude that that length spans at the given latitude.
static double LatLngWindow.longitudeDeltaToLength(double deltaLng, LengthUnit unit, double latitude)
          Converts a longitude degree arc at a specific latitude to the length of the arc.
 

Constructors in com.javadocmd.simplelatlng.window with parameters of type LengthUnit
CircularWindow(LatLng center, double radius, LengthUnit unit)
          Constructs a circular window that will contain all points within the specified radius.
RectangularWindow(LatLng center, double width, double height, LengthUnit unit)
          Creates a psuedo-rectangular window.
RectangularWindow(LatLng center, double widthHeight, LengthUnit unit)
          Creates a psuedo-square window.
 



Copyright © 2010-2013. All Rights Reserved.