org.apache.lucene.spatial.tier
Class CartesianPolyFilterBuilder

java.lang.Object
  extended by org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder

public class CartesianPolyFilterBuilder
extends Object

NOTE: This API is still in flux and might change in incompatible ways in the next release.


Field Summary
static double MILES_FLOOR
           
 
Constructor Summary
CartesianPolyFilterBuilder(String tierPrefix, int minTierIndexed, int maxTierIndexed)
           
 
Method Summary
 Filter getBoundingArea(double latitude, double longitude, double miles)
           
 Shape getBoxShape(double latitude, double longitude, double miles)
           
 Shape getShapeLoop(Shape shape, CartesianTierPlotter ctp, double latX, double longX, double latY, double longY)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MILES_FLOOR

public static final double MILES_FLOOR
See Also:
Constant Field Values
Constructor Detail

CartesianPolyFilterBuilder

public CartesianPolyFilterBuilder(String tierPrefix,
                                  int minTierIndexed,
                                  int maxTierIndexed)
Parameters:
tierPrefix - The prefix for the name of the fields containing the tier info
minTierIndexed - The minimum tier level indexed
maxTierIndexed - The maximum tier level indexed
Method Detail

getBoxShape

public Shape getBoxShape(double latitude,
                         double longitude,
                         double miles)

getShapeLoop

public Shape getShapeLoop(Shape shape,
                          CartesianTierPlotter ctp,
                          double latX,
                          double longX,
                          double latY,
                          double longY)

getBoundingArea

public Filter getBoundingArea(double latitude,
                              double longitude,
                              double miles)


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