|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.j2k.image.Coord
This class represents 2-D coordinates.
Field Summary | |
int |
x
The horizontal coordinate |
int |
y
The vertical coordinate |
Constructor Summary | |
Coord()
Creates a new coordinate object given with the (0,0) coordinates |
|
Coord(Coord c)
Creates a new coordinate object given another Coord object i.e. |
|
Coord(int x,
int y)
Creates a new coordinate object given the two coordinates. |
Method Summary | |
java.lang.String |
toString()
Returns a string representation of the object coordinates |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int x
public int y
Constructor Detail |
public Coord()
public Coord(int x, int y)
x
- The horizontal coordinate.y
- The vertical coordinate.public Coord(Coord c)
c
- The Coord object to be copied.Method Detail |
public 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 |