public class PolygonBound extends RectangularBound
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(float[] coords) |
Iterable<ImmutablePoint> |
filter(Iterable<ImmutablePoint> points) |
static PolygonBound |
from(float[] abscissa,
float[] ordinate) |
static PolygonBound |
from(float[] abscissa,
float[] ordinate,
int limit)
abscissa and ordinate contain the coordinates of polygon.
|
float[] |
getAbscissa() |
byte[] |
getCacheKey() |
float[] |
getOrdinate() |
getLimit, getMaxCoords, getMinCoords, getNumDims, overlapspublic static PolygonBound from(float[] abscissa, float[] ordinate, int limit)
public static PolygonBound from(float[] abscissa, float[] ordinate)
public float[] getOrdinate()
public float[] getAbscissa()
public boolean contains(float[] coords)
contains in interface Boundcontains in class RectangularBoundpublic Iterable<ImmutablePoint> filter(Iterable<ImmutablePoint> points)
filter in interface Boundfilter in class RectangularBoundpublic byte[] getCacheKey()
getCacheKey in interface BoundgetCacheKey in class RectangularBoundCopyright © 2011–2017. All rights reserved.