| Constructor and Description |
|---|
MortonContext(Envelope<P> extent,
int depth)
Constructs a
MortonContext with the specified extent and max. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
extentContains(Envelope<P> envelope)
Checks whether the specified
Envelope is contained in the extent. |
boolean |
extentContains(P pos)
Checks whether the specified
Point is contained in the extent. |
CoordinateReferenceSystem<?> |
getCoordinateReferenceSystem()
Returns the CrsId of the spatial extent
|
int |
getDepth()
Returns the maximum tree-depth
|
Envelope<P> |
getExtent()
Returns the spatial extent of this instance
|
double |
getMaxX()
Returns the maximum X-coordinate of the extent.
|
double |
getMaxY()
Returns the maximum Y-coordinate of the extent.
|
double |
getMinX()
Returns the minimum X-coordinate of the extent
|
double |
getMinY()
Returns the minimum Y-coordinate of the extent
|
public double getMaxX()
public double getMaxY()
public double getMinX()
public double getMinY()
public int getDepth()
public CoordinateReferenceSystem<?> getCoordinateReferenceSystem()
public boolean extentContains(P pos)
Point is contained in the extent.pos - a Point valueIllegalArgumentException - if the specified point does not share this extent's CrsIdpublic boolean extentContains(Envelope<P> envelope)
Envelope is contained in the extent.envelope - an Envelope valueIllegalArgumentException - if the specified envelope does not share this extent's CrsIdCopyright © 2021 geolatte.org. All rights reserved.