public class ProjectionBounds extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
maxEast
The minimum and maximum coordinates.
|
double |
maxNorth
The minimum and maximum coordinates.
|
double |
minEast
The minimum and maximum coordinates.
|
double |
minNorth
The minimum and maximum coordinates.
|
Constructor and Description |
---|
ProjectionBounds(double minEast,
double minNorth,
double maxEast,
double maxNorth) |
ProjectionBounds(EastNorth p) |
ProjectionBounds(EastNorth center,
double east,
double north) |
ProjectionBounds(EastNorth min,
EastNorth max)
Construct bounds out of two points.
|
Modifier and Type | Method and Description |
---|---|
void |
extend(EastNorth e) |
EastNorth |
getCenter() |
EastNorth |
getMax() |
EastNorth |
getMin() |
boolean |
intersects(ProjectionBounds b)
The two bounds intersect? Compared to java Shape.intersects, if does not use
the interior but the closure.
|
java.lang.String |
toString() |
public double minEast
public double minNorth
public double maxEast
public double maxNorth
public ProjectionBounds(EastNorth min, EastNorth max)
public ProjectionBounds(EastNorth p)
public ProjectionBounds(EastNorth center, double east, double north)
public ProjectionBounds(double minEast, double minNorth, double maxEast, double maxNorth)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean intersects(ProjectionBounds b)