A B C D E F G H I K L M N O P R S T V X Y

A

A - Variable in class org.apache.lucene.spatial.geometry.shape.LineSegment
 
add(Vector2D) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
add(Point2D) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
addBox(double) - Method in class org.apache.lucene.spatial.tier.Shape
 
angularDistance(double, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
distance/radius.
arcDistance(LatLng) - Method in class org.apache.lucene.spatial.geometry.LatLng
Calculates the distance between two lat/lng's in miles.
arcDistance(LatLng, DistanceUnits) - Method in class org.apache.lucene.spatial.geometry.LatLng
Calculates the distance between two lat/lng's in miles or meters.
area() - Method in class org.apache.lucene.spatial.geometry.shape.Ellipse
 
area() - Method in interface org.apache.lucene.spatial.geometry.shape.Geometry2D
Return the area
area() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
Return the area in units of lat-lng squared.
area() - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 

B

B - Variable in class org.apache.lucene.spatial.geometry.shape.LineSegment
 
bestFit(double) - Method in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
Find the tier with the best fit for a bounding box Best fit is defined as the ceiling of log2 (circumference of earth / distance) distance is defined as the smallest box fitting the corner between a radius and a bounding box.

C

calculateMidpoint(LatLng) - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
calculateMidpoint(LatLng) - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
calculateMidpoint(LatLng) - Method in class org.apache.lucene.spatial.geometry.LatLng
Calculate the midpoint between this point an another.
CartesianPoint - Class in org.apache.lucene.spatial.geometry
Represents lat/lngs as fixed point numbers translated so that all world coordinates are in the first quadrant.
CartesianPoint(int, int) - Constructor for class org.apache.lucene.spatial.geometry.CartesianPoint
 
CartesianPolyFilterBuilder - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
CartesianPolyFilterBuilder(String, int, int) - Constructor for class org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder
 
CartesianShapeFilter - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
CartesianTierPlotter - Class in org.apache.lucene.spatial.tier.projections
NOTE: This API is still in flux and might change in incompatible ways in the next release.
CartesianTierPlotter(int, IProjector, String) - Constructor for class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
 
centroid() - Method in class org.apache.lucene.spatial.geometry.shape.Ellipse
 
centroid() - Method in interface org.apache.lucene.spatial.geometry.shape.Geometry2D
Return the centroid
centroid() - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
cleanUp() - Method in class org.apache.lucene.spatial.tier.DistanceFieldComparatorSource
 
contains(Point2D) - Method in class org.apache.lucene.spatial.geometry.shape.Ellipse
 
contains(Point2D) - Method in interface org.apache.lucene.spatial.geometry.shape.Geometry2D
Does the shape contain the given point
contains(Point2D) - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
convert(double, DistanceUnits) - Method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Converts the given distance in given DistanceUnit, to a distance in the unit represented by this
coords(double, double) - Method in interface org.apache.lucene.spatial.tier.projections.IProjector
 
coords(double, double) - Method in class org.apache.lucene.spatial.tier.projections.SinusoidalProjector
Deprecated.  
coordsAsString(double, double) - Method in interface org.apache.lucene.spatial.tier.projections.IProjector
 
coordsAsString(double, double) - Method in class org.apache.lucene.spatial.tier.projections.SinusoidalProjector
Deprecated.  
copy() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
copy() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
copy() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
createBox(LatLng, double, double) - Static method in class org.apache.lucene.spatial.geometry.shape.LLRect
Approximates a box centered at the given point with the given width and height in miles.

D

decode(String) - Static method in class org.apache.lucene.spatial.geohash.GeoHashUtils
Decodes the given geohash into a latitude and longitude
DEFALT_FIELD_PREFIX - Static variable in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
 
DEG_180_AS_RADS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
DEG_225_AS_RADS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
DEG_270_AS_RADS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
DEG_45_AS_RADS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
DEG_90_AS_RADS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
DEGREES_TO_RADIANS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
distance(Point2D, Point2D) - Method in class org.apache.lucene.spatial.geometry.shape.LineSegment
Finds the distance of a specified point from the line segment and the closest point on the segment to the specified point.
distance - Variable in class org.apache.lucene.spatial.tier.DistanceFilter
 
DistanceApproximation - Class in org.apache.lucene.spatial.geometry.shape
Deprecated. This has been replaced with more accurate math in LLRect. This class will be removed in a future release.
DistanceApproximation() - Constructor for class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
DistanceFieldComparatorSource - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
DistanceFieldComparatorSource(Filter) - Constructor for class org.apache.lucene.spatial.tier.DistanceFieldComparatorSource
 
DistanceFilter - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
DistanceFilter(Filter, double) - Constructor for class org.apache.lucene.spatial.tier.DistanceFilter
Filters the startingFilter by precise distance checking filter
DistanceHandler - Class in org.apache.lucene.spatial.tier
Provide a high level access point to distances Used by DistanceSortSource and DistanceQuery
DistanceHandler(Map<Integer, Double>, Map<String, Double>, DistanceHandler.Precision) - Constructor for class org.apache.lucene.spatial.tier.DistanceHandler
 
DistanceHandler.Precision - Enum in org.apache.lucene.spatial.tier
 
distanceLookupCache - Variable in class org.apache.lucene.spatial.tier.DistanceFilter
 
DistanceQueryBuilder - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
DistanceQueryBuilder(double, double, double, String, String, String, boolean, int, int) - Constructor for class org.apache.lucene.spatial.tier.DistanceQueryBuilder
Create a distance query using a boundary box wrapper around a more precise DistanceFilter.
DistanceQueryBuilder(double, double, double, String, String, boolean, int, int) - Constructor for class org.apache.lucene.spatial.tier.DistanceQueryBuilder
Create a distance query using a boundary box wrapper around a more precise DistanceFilter.
distances - Variable in class org.apache.lucene.spatial.tier.DistanceFilter
 
DistanceUnits - Enum in org.apache.lucene.spatial.geometry
Enum representing difference distance units, currently only kilometers and miles
DistanceUtils - Class in org.apache.lucene.spatial
NOTE: This API is still in flux and might change in incompatible ways in the next release.
DistanceUtils() - Constructor for class org.apache.lucene.spatial.DistanceUtils
 
dot(Vector2D) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
doubleToFixed(double) - Static method in class org.apache.lucene.spatial.geometry.FixedLatLng
 

E

EARTH_EQUATORIAL_RADIUS_KM - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
EARTH_EQUATORIAL_RADIUS_MI - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
EARTH_MEAN_RADIUS_KM - Static variable in class org.apache.lucene.spatial.DistanceUtils
The International Union of Geodesy and Geophysics says the Earth's mean radius in KM is: [1] http://en.wikipedia.org/wiki/Earth_radius
EARTH_MEAN_RADIUS_MI - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
earthCircumference() - Method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Returns the circumference of the Earth
earthRadius() - Method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Returns the average earth radius
Ellipse - Class in org.apache.lucene.spatial.geometry.shape
Ellipse shape.
Ellipse() - Constructor for class org.apache.lucene.spatial.geometry.shape.Ellipse
 
Ellipse(Point2D, Point2D, double) - Constructor for class org.apache.lucene.spatial.geometry.shape.Ellipse
Constructor given bounding rectangle and a rotation.
encode(double, double) - Static method in class org.apache.lucene.spatial.geohash.GeoHashUtils
Encodes the given latitude and longitude into a geohash
equals(Object) - Method in class org.apache.lucene.spatial.geohash.GeoHashDistanceFilter
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.spatial.geometry.CartesianPoint
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.LatLng
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.shape.LineSegment
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
equals(Vector2D) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
equals(Object) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
equals(Object) - Method in class org.apache.lucene.spatial.tier.DistanceFilter
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.spatial.tier.LatLongDistanceFilter
Returns true if o is equal to this.

F

findDistanceUnit(String) - Static method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Returns the DistanceUnit which represents the given unit
FixedLatLng - Class in org.apache.lucene.spatial.geometry
NOTE: This API is still in flux and might change in incompatible ways in the next release.
FixedLatLng(int, int) - Constructor for class org.apache.lucene.spatial.geometry.FixedLatLng
 
FixedLatLng(LatLng) - Constructor for class org.apache.lucene.spatial.geometry.FixedLatLng
 
fixedToDouble(int) - Static method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
FloatLatLng - Class in org.apache.lucene.spatial.geometry
NOTE: This API is still in flux and might change in incompatible ways in the next release.
FloatLatLng(double, double) - Constructor for class org.apache.lucene.spatial.geometry.FloatLatLng
 
FloatLatLng(LatLng) - Constructor for class org.apache.lucene.spatial.geometry.FloatLatLng
 
fromCartesian(CartesianPoint) - Static method in class org.apache.lucene.spatial.geometry.LatLng
The inverse of toCartesian().

G

GeoHashDistanceFilter - Class in org.apache.lucene.spatial.geohash
NOTE: This API is still in flux and might change in incompatible ways in the next release.
GeoHashDistanceFilter(Filter, double, double, double, String) - Constructor for class org.apache.lucene.spatial.geohash.GeoHashDistanceFilter
Provide a distance filter based from a center point with a radius in miles
GeoHashUtils - Class in org.apache.lucene.spatial.geohash
Utilities for encoding and decoding geohashes.
Geometry2D - Interface in org.apache.lucene.spatial.geometry.shape
Common set of operations available on 2d shapes.
getArea() - Method in class org.apache.lucene.spatial.tier.Shape
 
getBoundary(double, double, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
 
getBoundingArea(double, double, double) - Method in class org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder
 
getBoxShape(double, double, double) - Method in class org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder
 
getDistance(int) - Method in class org.apache.lucene.spatial.tier.DistanceFilter
 
getDistance(int, double, double, double, double) - Method in class org.apache.lucene.spatial.tier.DistanceHandler
 
getDistanceFilter() - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
getDistanceMi(double, double, double, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
 
getDistances() - Method in class org.apache.lucene.spatial.tier.DistanceFilter
 
getDistanceSq(double, double) - Method in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
getDistanceSq(double, double, double, double) - Method in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
getDocIdSet(IndexReader) - Method in class org.apache.lucene.spatial.geohash.GeoHashDistanceFilter
 
getDocIdSet(IndexReader) - Method in class org.apache.lucene.spatial.tier.CartesianShapeFilter
 
getDocIdSet(IndexReader) - Method in class org.apache.lucene.spatial.tier.LatLongDistanceFilter
 
getFilter() - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
Create a distance query using a boundary box wrapper around a more precise DistanceFilter.
getFilter(Query) - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
getFixedLat() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
getFixedLat() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
getFixedLat() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
getFixedLng() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
getFixedLng() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
getFixedLng() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
getLat() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
getLat() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
getLat() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
getLat() - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
getLLMDistance(double, double, double, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
 
getLng() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
getLng() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
getLng() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
getLng() - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
getLowerLeft() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
 
getMaxPoint() - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
getMidpoint() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
 
getMiles() - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
getMilesPerLatDeg() - Static method in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
getMilesPerLngDeg(double) - Static method in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
getMinPoint() - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
getPrecision(double, DistanceHandler.Precision) - Static method in class org.apache.lucene.spatial.tier.DistanceHandler
 
getPrecision() - Method in class org.apache.lucene.spatial.tier.DistanceHandler
 
getQuery(Query) - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
getShapeLoop(Shape, CartesianTierPlotter, double, double, double, double) - Method in class org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder
 
getTierBoxId(double, double) - Method in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
TierBoxId is latitude box id + longitude box id where latitude box id, and longitude box id are transposed in to position coordinates.
getTierFieldName() - Method in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
get the string name representing current tier _localTier<tiedId>
getTierFieldName(int) - Method in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
get the string name representing tierId _localTier<tierId>
getTierId() - Method in class org.apache.lucene.spatial.tier.Shape
 
getTierVerticalPosDivider() - Method in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
 
getUnit() - Method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Returns the string representation of the distance unit
getUpperRight() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
 
getX() - Method in class org.apache.lucene.spatial.geometry.CartesianPoint
 
getX() - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
getX() - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
getY() - Method in class org.apache.lucene.spatial.geometry.CartesianPoint
 
getY() - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
getY() - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 

H

hashCode() - Method in class org.apache.lucene.spatial.geohash.GeoHashDistanceFilter
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.spatial.geometry.CartesianPoint
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.shape.LineSegment
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
hashCode() - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
hashCode() - Method in class org.apache.lucene.spatial.tier.DistanceFilter
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.spatial.tier.LatLongDistanceFilter
Returns a hash code value for this object.
haversine(double, double, double, double, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
 

I

intersect(LineSegment, Point2D, Point2D) - Method in class org.apache.lucene.spatial.geometry.shape.Ellipse
Determines if a line segment intersects the ellipse and if so finds the point(s) of intersection.
intersect(Rectangle) - Method in class org.apache.lucene.spatial.geometry.shape.Ellipse
 
intersect(Rectangle) - Method in interface org.apache.lucene.spatial.geometry.shape.Geometry2D
Returns information about how this shape intersects the given rectangle
intersect(Rectangle) - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
IntersectCase - Enum in org.apache.lucene.spatial.geometry.shape
NOTE: This API is still in flux and might change in incompatible ways in the next release.
InvalidGeoException - Exception in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
InvalidGeoException(String) - Constructor for exception org.apache.lucene.spatial.tier.InvalidGeoException
 
IProjector - Interface in org.apache.lucene.spatial.tier.projections
NOTE: This API is still in flux and might change in incompatible ways in the next release.
isFixedPoint() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
isFixedPoint() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
isFixedPoint() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
isInside(double) - Method in class org.apache.lucene.spatial.tier.Shape
 
isNormalized() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
isNormalized() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
isNormalized() - Method in class org.apache.lucene.spatial.geometry.LatLng
 

K

KILOMETERS_PER_MILE - Static variable in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
KM_TO_MILES - Static variable in class org.apache.lucene.spatial.DistanceUtils
 

L

LatLng - Class in org.apache.lucene.spatial.geometry
Abstract base lat-lng class which can manipulate fixed point or floating point based coordinates.
LatLng() - Constructor for class org.apache.lucene.spatial.geometry.LatLng
 
latLonCorner(double, double, double, double[], boolean, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
Uses Haversine to calculate the corner of a box (upper right or lower left) that is the distance away, given a sphere of the specified radius.
latLonCornerDegs(double, double, double, double[], boolean, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
 
LatLongDistanceFilter - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
LatLongDistanceFilter(Filter, double, double, double, String, String) - Constructor for class org.apache.lucene.spatial.tier.LatLongDistanceFilter
Provide a distance filter based from a center point with a radius in miles.
LineSegment - Class in org.apache.lucene.spatial.geometry.shape
2d line segment.
LineSegment() - Constructor for class org.apache.lucene.spatial.geometry.shape.LineSegment
 
LineSegment(Point2D, Point2D) - Constructor for class org.apache.lucene.spatial.geometry.shape.LineSegment
 
LLRect - Class in org.apache.lucene.spatial.geometry.shape
Lat-long rect.
LLRect(LatLng, LatLng) - Constructor for class org.apache.lucene.spatial.geometry.shape.LLRect
 
LLRect(LLRect) - Constructor for class org.apache.lucene.spatial.geometry.shape.LLRect
 
log2(double) - Method in class org.apache.lucene.spatial.tier.projections.CartesianTierPlotter
a log to the base 2 formula Math.log(value) / Math.log(2)

M

main(String[]) - Static method in class org.apache.lucene.spatial.tier.DistanceHandler
 
MILES_FLOOR - Static variable in class org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder
 
MILES_PER_LATITUDE - Static variable in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
MILES_TO_KM - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
mult(double) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 

N

newComparator(String, int, int, boolean) - Method in class org.apache.lucene.spatial.tier.DistanceFieldComparatorSource
 
nextDocBase - Variable in class org.apache.lucene.spatial.tier.DistanceFilter
 
norm() - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
normalize() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
normalize() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
normalize() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
normLat(double[]) - Static method in class org.apache.lucene.spatial.DistanceUtils
 
normLng(double[]) - Static method in class org.apache.lucene.spatial.DistanceUtils
Returns a normalized Lng rectangle shape for the bounding box
normSqr() - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
Vector length (magnitude) squared

O

org.apache.lucene.spatial - package org.apache.lucene.spatial
 
org.apache.lucene.spatial.geohash - package org.apache.lucene.spatial.geohash
Support for Geohash encoding, decoding, and filtering.
org.apache.lucene.spatial.geometry - package org.apache.lucene.spatial.geometry
 
org.apache.lucene.spatial.geometry.shape - package org.apache.lucene.spatial.geometry.shape
 
org.apache.lucene.spatial.tier - package org.apache.lucene.spatial.tier
Support for filtering based upon geographic location.
org.apache.lucene.spatial.tier.projections - package org.apache.lucene.spatial.tier.projections
 

P

parseLatitudeLongitude(String) - Static method in class org.apache.lucene.spatial.DistanceUtils
 
parseLatitudeLongitude(double[], String) - Static method in class org.apache.lucene.spatial.DistanceUtils
extract (by calling DistanceUtils.parsePoint(String[], String, int) and validate the latitude and longitude contained in the String by making sure the latitude is between 90 & -90 and longitude is between -180 and 180.
parsePoint(String[], String, int) - Static method in class org.apache.lucene.spatial.DistanceUtils
Given a string containing dimension values encoded in it, separated by commas, return a String array of length dimension containing the values.
parsePointDouble(double[], String, int) - Static method in class org.apache.lucene.spatial.DistanceUtils
Given a string containing dimension values encoded in it, separated by commas, return a double array of length dimension containing the values.
Point2D - Class in org.apache.lucene.spatial.geometry.shape
Point class.
Point2D(double, double) - Constructor for class org.apache.lucene.spatial.geometry.shape.Point2D
 
Point2D() - Constructor for class org.apache.lucene.spatial.geometry.shape.Point2D
 
Point2D(Point2D) - Constructor for class org.apache.lucene.spatial.geometry.shape.Point2D
 
pointOnBearing(double, double, double, double, double[], double) - Static method in class org.apache.lucene.spatial.DistanceUtils
Given a start point (startLat, startLon) and a bearing on a sphere of radius sphereRadius, return the destination point.
precise - Variable in class org.apache.lucene.spatial.tier.DistanceFilter
 

R

RADIANS_TO_DEGREES - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
Rectangle - Class in org.apache.lucene.spatial.geometry.shape
Rectangle shape.
Rectangle() - Constructor for class org.apache.lucene.spatial.geometry.shape.Rectangle
 
Rectangle(Point2D, Point2D) - Constructor for class org.apache.lucene.spatial.geometry.shape.Rectangle
 
Rectangle(double, double, double, double) - Constructor for class org.apache.lucene.spatial.geometry.shape.Rectangle
 
reset() - Method in class org.apache.lucene.spatial.tier.DistanceFilter
You must call this before re-using this DistanceFilter across searches

S

SCALE_FACTOR - Static variable in class org.apache.lucene.spatial.geometry.FixedLatLng
 
SCALE_FACTOR_INT - Static variable in class org.apache.lucene.spatial.geometry.FixedLatLng
 
set(double, double) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
set(Point2D) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
set(Vector2D) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
set(double, double) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
setDistances(Map<Integer, Double>) - Method in class org.apache.lucene.spatial.tier.DistanceFilter
 
setLat(int) - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
setLng(int) - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
setTestPoint(double, double) - Method in class org.apache.lucene.spatial.geometry.shape.DistanceApproximation
Deprecated.  
setX(double) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
setX(double) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
setY(double) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
setY(double) - Method in class org.apache.lucene.spatial.geometry.shape.Vector2D
 
Shape - Class in org.apache.lucene.spatial.tier
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Shape(String) - Constructor for class org.apache.lucene.spatial.tier.Shape
 
SIN_45_AS_RADS - Static variable in class org.apache.lucene.spatial.DistanceUtils
 
SinusoidalProjector - Class in org.apache.lucene.spatial.tier.projections
Deprecated. Until we can put in place proper tests and a proper fix.
SinusoidalProjector() - Constructor for class org.apache.lucene.spatial.tier.projections.SinusoidalProjector
Deprecated.  
squaredEuclideanDistance(double[], double[]) - Static method in class org.apache.lucene.spatial.DistanceUtils
The square of the Euclidean Distance.
startingFilter - Variable in class org.apache.lucene.spatial.tier.DistanceFilter
 

T

toCartesian() - Method in class org.apache.lucene.spatial.geometry.LatLng
Convert the lat/lng into the cartesian coordinate plane such that all world coordinates are represented in the first quadrant.
toFixed() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
toFixed() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
toFixed() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
toFloat() - Method in class org.apache.lucene.spatial.geometry.FixedLatLng
 
toFloat() - Method in class org.apache.lucene.spatial.geometry.FloatLatLng
 
toFloat() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
toRectangle() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
Returns a rectangle shape for the bounding box
toString() - Method in class org.apache.lucene.spatial.geometry.CartesianPoint
 
toString() - Method in class org.apache.lucene.spatial.geometry.LatLng
 
toString() - Method in class org.apache.lucene.spatial.geometry.shape.LLRect
 
toString() - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
toString() - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 
toString() - Method in class org.apache.lucene.spatial.tier.DistanceQueryBuilder
 
translate(int, int) - Method in class org.apache.lucene.spatial.geometry.CartesianPoint
Return a new point translated in the x and y dimensions
translate(Vector2D) - Method in class org.apache.lucene.spatial.geometry.shape.Ellipse
 
translate(Vector2D) - Method in interface org.apache.lucene.spatial.geometry.shape.Geometry2D
Translate according to the vector
translate(Vector2D) - Method in class org.apache.lucene.spatial.geometry.shape.Rectangle
 

V

valueOf(String) - Static method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.spatial.geometry.shape.IntersectCase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.lucene.spatial.tier.DistanceHandler.Precision
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.lucene.spatial.geometry.DistanceUnits
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.spatial.geometry.shape.IntersectCase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.lucene.spatial.tier.DistanceHandler.Precision
Returns an array containing the constants of this enum type, in the order they are declared.
Vector2D - Class in org.apache.lucene.spatial.geometry.shape
2D vector
Vector2D(double, double) - Constructor for class org.apache.lucene.spatial.geometry.shape.Vector2D
Create a vector from the origin of the coordinate system to the given point
Vector2D(Point2D) - Constructor for class org.apache.lucene.spatial.geometry.shape.Vector2D
Create a vector from the origin of the coordinate system to the given point
Vector2D(Point2D, Point2D) - Constructor for class org.apache.lucene.spatial.geometry.shape.Vector2D
Create a vector from one point to another
Vector2D() - Constructor for class org.apache.lucene.spatial.geometry.shape.Vector2D
 
Vector2D(Vector2D) - Constructor for class org.apache.lucene.spatial.geometry.shape.Vector2D
 
vectorBoxCorner(double[], double[], double, boolean) - Static method in class org.apache.lucene.spatial.DistanceUtils
Return the coordinates of a vector that is the corner of a box (upper right or lower left), assuming a Rectangular coordinate system.
vectorDistance(double[], double[], double) - Static method in class org.apache.lucene.spatial.DistanceUtils
Calculate the p-norm (i.e.
vectorDistance(double[], double[], double, double) - Static method in class org.apache.lucene.spatial.DistanceUtils
Calculate the p-norm (i.e.

X

x() - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
x(double) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 

Y

y() - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 
y(double) - Method in class org.apache.lucene.spatial.geometry.shape.Point2D
 

A B C D E F G H I K L M N O P R S T V X Y

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.