public class FixedCartesianPolyFilterBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
MILES_FLOOR |
| Constructor and Description |
|---|
FixedCartesianPolyFilterBuilder(String tierPrefix,
int minTierIndexed,
int maxTierIndexed) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Filter |
getBoundingArea(double latitude,
double longitude,
double miles) |
org.apache.lucene.spatial.tier.Shape |
getBoxShape(double latitude,
double longitude,
double miles) |
org.apache.lucene.spatial.tier.Shape |
getShapeLoop(org.apache.lucene.spatial.tier.Shape shape,
org.apache.lucene.spatial.tier.projections.CartesianTierPlotter ctp,
double latX,
double longX,
double latY,
double longY) |
public static final double MILES_FLOOR
public FixedCartesianPolyFilterBuilder(String tierPrefix, int minTierIndexed, int maxTierIndexed)
tierPrefix - The prefix for the name of the fields containing the tier infominTierIndexed - The minimum tier level indexedmaxTierIndexed - The maximum tier level indexedpublic org.apache.lucene.spatial.tier.Shape getBoxShape(double latitude,
double longitude,
double miles)
public org.apache.lucene.spatial.tier.Shape getShapeLoop(org.apache.lucene.spatial.tier.Shape shape,
org.apache.lucene.spatial.tier.projections.CartesianTierPlotter ctp,
double latX,
double longX,
double latY,
double longY)
public org.apache.lucene.search.Filter getBoundingArea(double latitude,
double longitude,
double miles)
Copyright © 2001–2015 Aduna. All rights reserved.