public class BoundingBox extends Object implements Serializable, Geometry
Constructor and Description |
---|
BoundingBox() |
BoundingBox(double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude) |
Modifier and Type | Method and Description |
---|---|
double |
getMaxLatitude() |
double |
getMaxLongitude() |
double |
getMinLatitude() |
double |
getMinLongitude() |
boolean |
isGlobalCoverage() |
void |
setGlobalCoverage(double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude)
Set whether this binding box represents global coverage or not.
|
void |
setMaxLatitude(double maxLatitude) |
void |
setMaxLongitude(double maxLongitude) |
void |
setMinLatitude(double minLatitude) |
void |
setMinLongitude(double minLongitude) |
String |
toWellKnownText() |
public BoundingBox()
public BoundingBox(double minLatitude, double maxLatitude, double minLongitude, double maxLongitude)
public double getMaxLatitude()
public void setMaxLatitude(double maxLatitude)
public double getMaxLongitude()
public void setMaxLongitude(double maxLongitude)
public double getMinLatitude()
public void setMinLatitude(double minLatitude)
public double getMinLongitude()
public void setMinLongitude(double minLongitude)
public String toWellKnownText()
toWellKnownText
in interface Geometry
public boolean isGlobalCoverage()
public void setGlobalCoverage(double minLatitude, double maxLatitude, double minLongitude, double maxLongitude)
minLatitude
- min latitudemaxLatitude
- max latitudeminLongitude
- min longitudemaxLongitude
- max longitudeCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.