public class MarvinBoundingBox
extends java.lang.Object
Constructor and Description |
---|
MarvinBoundingBox() |
MarvinBoundingBox(int x1,
int y1,
int x2,
int y2) |
public MarvinBoundingBox()
public MarvinBoundingBox(int x1, int y1, int x2, int y2)
public void add(int x, int y)
public int getWidth()
public int getHeight()
public boolean contains(int x, int y)
public void merge(MarvinBoundingBox box2)
public boolean near(int x, int y, int distance)