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, overlaps
public 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 Bound
contains
in class RectangularBound
public Iterable<ImmutablePoint> filter(Iterable<ImmutablePoint> points)
filter
in interface Bound
filter
in class RectangularBound
public byte[] getCacheKey()
getCacheKey
in interface Bound
getCacheKey
in class RectangularBound
Copyright © 2011–2017. All rights reserved.