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.Object
public boolean intersects(Region r)
Region
intersects
in interface Region
r
- The other region.public boolean contains(Region r)
Region
public double getXMin()
Region
public double getYMin()
Region
public double getXMax()
Region