public class LayerSelection
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MULTI_TYPE |
Constructor and Description |
---|
LayerSelection(java.lang.String tsInfoName,
Geometry coverage,
double minRes,
double maxRes) |
Modifier and Type | Method and Description |
---|---|
static boolean |
boundsContains(LayerSelection ls,
GeoPoint g) |
static GeoPoint |
boundsGetCenterNearest(LayerSelection ls,
GeoPoint g) |
Geometry |
getBounds() |
static Geometry |
getCoverageNearest(GeometryCollection gc,
GeoPoint p,
double[] dsq) |
static Geometry |
getCoverageNearest(LayerSelection ls,
GeoPoint p) |
double |
getEast() |
double |
getMaxRes() |
double |
getMinRes() |
java.lang.String |
getName() |
double |
getNorth() |
double |
getSouth() |
double |
getWest() |
java.lang.String |
toString() |
public static final java.lang.String MULTI_TYPE
public LayerSelection(java.lang.String tsInfoName, Geometry coverage, double minRes, double maxRes)
public java.lang.String getName()
public double getMaxRes()
public double getMinRes()
public double getEast()
public double getNorth()
public double getSouth()
public double getWest()
public Geometry getBounds()
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean boundsContains(LayerSelection ls, GeoPoint g)
public static GeoPoint boundsGetCenterNearest(LayerSelection ls, GeoPoint g)
public static Geometry getCoverageNearest(LayerSelection ls, GeoPoint p)
public static Geometry getCoverageNearest(GeometryCollection gc, GeoPoint p, double[] dsq)