| Constructor and Description |
|---|
NullRegion()
Construct an empty region.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Region r)
Find out if this region fully contains another region.
|
double |
getXMax()
Get the upper X coordinate.
|
double |
getXMin()
Get the lower X coordinate.
|
double |
getYMax()
Get the upper Y coordinate.
|
double |
getYMin()
Get the lower Y coordinate.
|
boolean |
intersects(Region r)
Find out if this region intersects another region.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean intersects(Region r)
Regionintersects in interface Regionr - The other region.public boolean contains(Region r)
Regionpublic double getXMin()
Regionpublic double getYMin()
Regionpublic double getXMax()
Region