|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LatLng | |
|---|---|
| com.javadocmd.simplelatlng | The base package for latitude and longitude utilities offered by SimpleLatLng. |
| com.javadocmd.simplelatlng.window | A package allowing calculations on windows of latitude and longitude. |
| Uses of LatLng in com.javadocmd.simplelatlng |
|---|
| Methods in com.javadocmd.simplelatlng that return LatLng | |
|---|---|
static LatLng |
Geohasher.decode(String hash)
Decodes a geohash string to its LatLng equivalent. |
static LatLng |
LatLng.random()
Creates a random latitude and longitude. |
static LatLng |
LatLng.random(Random r)
Creates a random latitude and longitude. |
| Methods in com.javadocmd.simplelatlng with parameters of type LatLng | |
|---|---|
static double |
LatLngTool.distance(LatLng point1,
LatLng point2,
LengthUnit unit)
Distance between two points. |
static double |
LatLngTool.distanceInRadians(LatLng point1,
LatLng point2)
This "distance" function is mostly for internal use. |
static String |
Geohasher.hash(LatLng point)
Geohashes a latitude and longitude. |
static double |
LatLngTool.initialBearing(LatLng start,
LatLng end)
Calculate the initial bearing in degrees on a great-circle course from one point to another. |
static double |
LatLngTool.initialBearingInRadians(LatLng start,
LatLng end)
Calculate the initial bearing in radians on a great-circle course from one point to another. |
| Uses of LatLng in com.javadocmd.simplelatlng.window |
|---|
| Methods in com.javadocmd.simplelatlng.window that return LatLng | |
|---|---|
LatLng |
RectangularWindow.getCenter()
|
abstract LatLng |
LatLngWindow.getCenter()
Returns the center point of the window. |
LatLng |
CircularWindow.getCenter()
|
abstract LatLng |
FilterHelper.getLatLng(S object)
Returns object's LatLng
value to be filtered. |
| Methods in com.javadocmd.simplelatlng.window with parameters of type LatLng | |
|---|---|
boolean |
RectangularWindow.contains(LatLng point)
|
abstract boolean |
LatLngWindow.contains(LatLng point)
Tests to see if the given point falls within this window. |
boolean |
CircularWindow.contains(LatLng point)
|
void |
CircularWindow.setCenter(LatLng center)
Sets the center of this window. |
void |
RectangularWindow.setWindow(LatLng center,
double deltaLat,
double deltaLng)
Sets the bounds of this window. |
| Constructors in com.javadocmd.simplelatlng.window with parameters of type LatLng | |
|---|---|
CircularWindow(LatLng center,
double radiusInDegrees)
Constructs a circular window. |
|
CircularWindow(LatLng center,
double radius,
LengthUnit unit)
Constructs a circular window that will contain all points within the specified radius. |
|
RectangularWindow(LatLng center,
double deltaLat,
double deltaLng)
Creates a pseudo-rectangular window. |
|
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. |
|
RectangularWindow(LatLng northeast,
LatLng southwest)
Creates a pseudo-rectangular window. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||