org.objectweb.fractal.gui.graph.model
Class Rect

java.lang.Object
  extended byorg.objectweb.fractal.gui.graph.model.Rect

public class Rect
extends java.lang.Object

A rectangle whose coordinates are stored as double.


Field Summary
 double x0
          x coordinate of the left border of this rectangle.
 double x1
          x coordinate of the right border of this rectangle.
 double y0
          y coordinate of the top border of this rectangle.
 double y1
          y coordinate of the bottom border of this rectangle.
 
Constructor Summary
Rect(double x0, double y0, double x1, double y1)
          Constructs a new Rect object.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x0

public final double x0
x coordinate of the left border of this rectangle.


y0

public final double y0
y coordinate of the top border of this rectangle.


x1

public final double x1
x coordinate of the right border of this rectangle.


y1

public final double y1
y coordinate of the bottom border of this rectangle.

Constructor Detail

Rect

public Rect(double x0,
            double y0,
            double x1,
            double y1)
Constructs a new Rect object.

Parameters:
x0 - x coordinate of the left border of this rectangle.
y0 - y coordinate of the top border of this rectangle.
x1 - x coordinate of the right border of this rectangle.
y1 - y coordinate of the bottom border of this rectangle.
Method Detail

equals

public boolean equals(java.lang.Object o)