class QuadRectangle implements Serializable {

    public boolean contains(double x, double y)
    {
        return x >= this.x && x <= this.x + this.width
                && y >= this.y && y <= this.y + this.height;
    }

    public  QuadRectangle(Envelope envelope);
    public  QuadRectangle(double x, double y, double width, double height);

}