public class BoundingBoxIndexer
extends java.lang.Object
implements io.georocket.index.Indexer
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
boundingBoxInitialized
True if
addToBoundingBox(double, double) has been called
at least once |
protected double |
maxX |
protected double |
maxY |
protected double |
minX
The calculated bounding box of this chunk.
|
protected double |
minY |
| Constructor and Description |
|---|
BoundingBoxIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToBoundingBox(double x,
double y)
Adds the given coordinate to the bounding box
|
java.util.Map<java.lang.String,java.lang.Object> |
getResult() |
protected boolean boundingBoxInitialized
addToBoundingBox(double, double) has been called
at least onceprotected double minX
boundingBoxInitialized is trueprotected double maxX
protected double minY
protected double maxY
protected void addToBoundingBox(double x,
double y)
x - the x ordinatey - the y ordinatepublic java.util.Map<java.lang.String,java.lang.Object> getResult()
getResult in interface io.georocket.index.Indexer