public class Bbox extends Object
| Constructor and Description |
|---|
Bbox(Bbox b) |
Bbox(double[] b) |
Bbox(double minx,
double miny,
double maxx,
double maxy) |
Bbox(String bbox) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCenterX() |
double |
getCenterY() |
double |
getHeight() |
double |
getMaxx() |
double |
getMaxy() |
double |
getMinx() |
double |
getMiny() |
double |
getWidth() |
void |
setBbox(double[] b) |
void |
setMaxx(double maxx) |
void |
setMaxy(double maxy) |
void |
setMinx(double minx) |
void |
setMiny(double miny) |
String |
toString() |
String |
toWKT()
Give wkt of this bbox.
|
void |
transform(double transformX,
double transformY)
Transforms this BBOX with the given x and y
|
public Bbox(double[] b)
public Bbox(double minx,
double miny,
double maxx,
double maxy)
public Bbox(Bbox b)
public void setBbox(double[] b)
public double getMinx()
public void setMinx(double minx)
public double getMaxx()
public void setMaxx(double maxx)
public double getMiny()
public void setMiny(double miny)
public double getMaxy()
public void setMaxy(double maxy)
public double getCenterX()
public double getCenterY()
public double getWidth()
public double getHeight()
public void transform(double transformX,
double transformY)
transformX - x directiontransformY - y directionpublic String toWKT()
Copyright © 2020. All rights reserved.