public class Bounds
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
maxX |
double |
maxY |
double |
midX |
double |
midY |
double |
minX |
double |
minY |
Constructor and Description |
---|
Bounds(double minX,
double maxX,
double minY,
double maxY) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Bounds bounds) |
boolean |
contains(double x,
double y) |
boolean |
contains(Point point) |
boolean |
intersects(Bounds bounds) |
boolean |
intersects(double minX,
double maxX,
double minY,
double maxY) |
public final double minX
public final double minY
public final double maxX
public final double maxY
public final double midX
public final double midY
public boolean contains(double x, double y)
public boolean contains(Point point)
public boolean intersects(double minX, double maxX, double minY, double maxY)
public boolean intersects(Bounds bounds)
public boolean contains(Bounds bounds)