cds.aladin
Class RectangleD
java.lang.Object
cds.aladin.RectangleD
public class RectangleD
- extends java.lang.Object
Manipulation d'un Rectangle en coordonnees reelles
- Version:
- 1.0 : (30 juillet 2002) creation
- Author:
- Pierre Fernique [CDS]
Constructor Summary |
RectangleD(double x,
double y,
double width,
double height)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
y
public double y
width
public double width
height
public double height
RectangleD
public RectangleD(double x,
double y,
double width,
double height)
copy
public RectangleD copy()
- Copie du rectangle
inside
public boolean inside(double xc,
double yc)
- Return true if (x,y) is in the rectangle
inside
public boolean inside(RectangleD r)
- Retourne true si le rectangle passée en paramètre est
contenu dans le rectangle
equals
public boolean equals(RectangleD r)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009 UDS/CNRS