Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
F
G
H
I
L
N
O
P
R
S
T
V
C
CircularWindow
- Class in
com.javadocmd.simplelatlng.window
A circular window.
CircularWindow(LatLng, double)
- Constructor for class com.javadocmd.simplelatlng.window.
CircularWindow
Constructs a circular window.
CircularWindow(LatLng, double, LengthUnit)
- Constructor for class com.javadocmd.simplelatlng.window.
CircularWindow
Constructs a circular window that will contain all points within the specified radius.
com.javadocmd.simplelatlng
- package com.javadocmd.simplelatlng
The base package for latitude and longitude utilities offered by SimpleLatLng.
com.javadocmd.simplelatlng.util
- package com.javadocmd.simplelatlng.util
Utility classes and configuration for SimpleLatLng operation.
com.javadocmd.simplelatlng.window
- package com.javadocmd.simplelatlng.window
A package allowing calculations on windows of latitude and longitude.
contains(LatLng)
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
contains(LatLng)
- Method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Tests to see if the given point falls within this window.
contains(LatLng)
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
convertTo(LengthUnit, double)
- Method in enum com.javadocmd.simplelatlng.util.
LengthUnit
Convert a value of this unit type to the units specified in the parameters.
crosses180thMeridian()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
If this window spans the 180 degree longitude meridian, this method returns true.
D
decode(String)
- Static method in class com.javadocmd.simplelatlng.
Geohasher
Decodes a geohash string to its LatLng equivalent.
DEGREE_FORMAT
- Static variable in class com.javadocmd.simplelatlng.util.
LatLngConfig
DEGREE_TOLERANCE
- Static variable in class com.javadocmd.simplelatlng.util.
LatLngConfig
The tolerance (in degrees) by which two angles can differ and still be considered the same.
degreesEqual(double, double)
- Static method in class com.javadocmd.simplelatlng.
LatLng
Tests whether two angles fall within the tolerance allowed in
LatLngConfig
.
distance(LatLng, LatLng, LengthUnit)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
Distance between two points.
distanceInRadians(LatLng, LatLng)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
This "distance" function is mostly for internal use.
doubleToLong(double)
- Static method in class com.javadocmd.simplelatlng.util.
LatLngConfig
Function used to convert an angle in degrees to its internal, fixed-precision long representation.
E
EARTH_MEAN_RADIUS_KILOMETERS
- Static variable in class com.javadocmd.simplelatlng.util.
LatLngConfig
The Earth's mean radius in kilometers.
equals(Object)
- Method in class com.javadocmd.simplelatlng.
LatLng
F
filter(Collection<E>, FilterHelper<E>)
- Method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Goes through the given collection removing items whose LatLng point does not fall within this window.
filterCopy(Collection<E>, Collection<E>, FilterHelper<E>)
- Method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Goes through the source collection copying items whose LatLng point falls within this window to the destination collection.
FilterHelper
<
S
> - Class in
com.javadocmd.simplelatlng.window
An abstract class to help LatLngWindows with the task of filtering collections based on whether or not a point is contained within the window.
FilterHelper()
- Constructor for class com.javadocmd.simplelatlng.window.
FilterHelper
G
Geohasher
- Class in
com.javadocmd.simplelatlng
Implements the
Geohash
algorithm for hashing latitude and longitude points.
Geohasher()
- Constructor for class com.javadocmd.simplelatlng.
Geohasher
getCenter()
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
getCenter()
- Method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Returns the center point of the window.
getCenter()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getEarthRadius(LengthUnit)
- Static method in class com.javadocmd.simplelatlng.util.
LatLngConfig
Retrieve the Earth's spherical approximation radius in the desired unit.
getHeight(LengthUnit)
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
Returns the height of the window.
getLatitude()
- Method in class com.javadocmd.simplelatlng.
LatLng
Get latitude for this point in degrees.
getLatitudeDelta()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getLatitudeInternal()
- Method in class com.javadocmd.simplelatlng.
LatLng
Get the internal long representation of this point's latitude in degrees.
getLatLng(S)
- Method in class com.javadocmd.simplelatlng.window.
FilterHelper
Returns
object
's
LatLng
value to be filtered.
getLeftLongitude()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getLongitude()
- Method in class com.javadocmd.simplelatlng.
LatLng
Get longitude for this point in degrees.
getLongitudeDelta()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getLongitudeInternal()
- Method in class com.javadocmd.simplelatlng.
LatLng
Get the internal long representation of this point's longitude in degrees.
getMaxLatitude()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getMinLatitude()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getRadius()
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
Gets the radius of this window in degrees.
getRadius(LengthUnit)
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
Gets the radius of this window in a length unit.
getRightLongitude()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
getScaleFactor()
- Method in enum com.javadocmd.simplelatlng.util.
LengthUnit
Retrieve the scale factor between this unit and the primary length unit.
getWidth(LengthUnit)
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
Returns the width at the mid-line of the window.
H
hash(LatLng)
- Static method in class com.javadocmd.simplelatlng.
Geohasher
Geohashes a latitude and longitude.
hashCode()
- Method in class com.javadocmd.simplelatlng.
LatLng
I
initialBearing(LatLng, LatLng)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
Calculate the initial bearing in degrees on a great-circle course from one point to another.
initialBearingInRadians(LatLng, LatLng)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
Calculate the initial bearing in radians on a great-circle course from one point to another.
isPolar()
- Method in class com.javadocmd.simplelatlng.
LatLng
Returns true if this LatLng represents a polar coordinate (+/- 90 degrees latitude).
L
latitudeDeltaToLength(double, LengthUnit)
- Static method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Converts a latitude degree arc to the length of that arc.
LatLng
- Class in
com.javadocmd.simplelatlng
A representation of a single point in latitude and longitude.
LatLng(double, double)
- Constructor for class com.javadocmd.simplelatlng.
LatLng
Creates a LatLng point.
LatLngConfig
- Class in
com.javadocmd.simplelatlng.util
Configuration parameters for latitude and longitude calculations.
LatLngTool
- Class in
com.javadocmd.simplelatlng
Primary calculations and tools.
LatLngWindow
<
T
extends
LatLngWindow
<
T
>> - Class in
com.javadocmd.simplelatlng.window
An interface specifying a region in the latitude/longitude space.
LatLngWindow()
- Constructor for class com.javadocmd.simplelatlng.window.
LatLngWindow
lengthToLatitudeDelta(double, LengthUnit)
- Static method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Converts a length measurement into the latitude that that length spans.
lengthToLongitudeDelta(double, LengthUnit, double)
- Static method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Converts a length measurement into the longitude that that length spans at the given latitude.
LengthUnit
- Enum in
com.javadocmd.simplelatlng.util
A utility class for handling units and unit conversions within this library.
longitudeDeltaToLength(double, LengthUnit, double)
- Static method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Converts a longitude degree arc at a specific latitude to the length of the arc.
longToDouble(long)
- Static method in class com.javadocmd.simplelatlng.util.
LatLngConfig
Function used to convert an angle in degrees to its external double representation.
N
normalizeBearing(double)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
Convert a bearing to be within the 0 to +360 degrees range.
normalizeLatitude(double)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
Clamp latitude to +/- 90 degrees.
normalizeLongitude(double)
- Static method in class com.javadocmd.simplelatlng.
LatLngTool
Convert longitude to be within the +/- 180 degrees range.
O
overlaps(CircularWindow)
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
overlaps(T)
- Method in class com.javadocmd.simplelatlng.window.
LatLngWindow
Test if this window overlaps the given window.
overlaps(RectangularWindow)
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
P
PRECISION
- Static variable in class com.javadocmd.simplelatlng.
Geohasher
Number of hash characters supported.
PRIMARY
- Static variable in enum com.javadocmd.simplelatlng.util.
LengthUnit
The primary length unit.
R
random()
- Static method in class com.javadocmd.simplelatlng.
LatLng
Creates a random latitude and longitude.
random(Random)
- Static method in class com.javadocmd.simplelatlng.
LatLng
Creates a random latitude and longitude.
RectangularWindow
- Class in
com.javadocmd.simplelatlng.window
A "pseudo-rectangular" window bounded by a minimum and maximum latitude and a minimum and maximum longitude.
RectangularWindow(LatLng, double, double)
- Constructor for class com.javadocmd.simplelatlng.window.
RectangularWindow
Creates a pseudo-rectangular window.
RectangularWindow(LatLng, LatLng)
- Constructor for class com.javadocmd.simplelatlng.window.
RectangularWindow
Creates a pseudo-rectangular window.
RectangularWindow(LatLng, double, double, LengthUnit)
- Constructor for class com.javadocmd.simplelatlng.window.
RectangularWindow
Creates a psuedo-rectangular window.
RectangularWindow(LatLng, double, LengthUnit)
- Constructor for class com.javadocmd.simplelatlng.window.
RectangularWindow
Creates a psuedo-square window.
S
setCenter(LatLng)
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
Sets the center of this window.
setEarthRadius(double, LengthUnit)
- Static method in class com.javadocmd.simplelatlng.util.
LatLngConfig
Sets the Earth's radius for the purposes of all future calculations in this library.
setLatitudeLongitude(double, double)
- Method in class com.javadocmd.simplelatlng.
LatLng
Sets the latitude and longitude for this point.
setRadius(double)
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
Sets the radius of this window.
setWindow(LatLng, double, double)
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
Sets the bounds of this window.
T
toString()
- Method in class com.javadocmd.simplelatlng.
LatLng
toString()
- Method in class com.javadocmd.simplelatlng.window.
CircularWindow
toString()
- Method in class com.javadocmd.simplelatlng.window.
RectangularWindow
V
valueOf(String)
- Static method in enum com.javadocmd.simplelatlng.util.
LengthUnit
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.javadocmd.simplelatlng.util.
LengthUnit
Returns an array containing the constants of this enum type, in the order they are declared.
C
D
E
F
G
H
I
L
N
O
P
R
S
T
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010-2013. All Rights Reserved.