Generated on Thu Nov 2 14:49:35 2006 for Gecode/J by doxygen 1.5.0

Rect.java

Go to the documentation of this file.
00001 /* -*- indent-tabs-mode: nil -*- */
00002 /*
00003  *  Main authors:
00004  *     Guido Tack <tack@gecode.org>
00005  *
00006  *  Copyright:
00007  *     Guido Tack, 2006
00008  *
00009  *  Last modified:
00010  *     $Date: 2006-10-26 11:31:58 +0200 (Thu, 26 Oct 2006) $ by $Author: tack $
00011  *     $Revision: 3796 $
00012  *
00013  *  This file is part of Gecode, the generic constraint
00014  *  development environment:
00015  *     http://www.gecode.org
00016  *
00017  *  See the file "LICENSE" for information on usage and
00018  *  redistribution of this file, and for a
00019  *     DISCLAIMER OF ALL WARRANTIES.
00020  *
00021  */
00022 
00023 package org.gecode.gist;
00024 
00025 public class Rect {
00026         int x;
00027         int y;
00028         int width;
00029         int height;
00030         
00031         public Rect(int _x, int _y, int _width, int _height) {
00032                 x = _x;
00033                 y = _y;
00034                 width = _width;
00035                 height = _height;
00036         }
00037 
00038     public String toString() {
00039         return ""+x+"+"+width+","+y+"+"+height;
00040     }
00041 }