|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.mosaic.DPoint
public class DPoint
A double-precision point (x,y).
| Field Summary | |
|---|---|
double |
x
The x-coordinate of this point. |
double |
y
The y-coordinate of this point. |
| Constructor Summary | |
|---|---|
DPoint(double x,
double y)
Constructs a point. |
|
DPoint(DPoint p)
Constructs a copy of the specified point. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double x
public double y
| Constructor Detail |
|---|
public DPoint(double x,
double y)
x - the x-coordinate.y - the y-coordinate.public DPoint(DPoint p)
p - the point.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||