|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.earth.model.input.shapefile.ESRIPoint
Field Summary | |
(package private) static NumberFormat |
format
A formatting instance for string conversion. |
double |
x
The X coordinate. |
double |
y
The Y coordinate. |
Constructor Summary | |
ESRIPoint()
Null constructor. |
|
ESRIPoint(byte[] b,
int off)
Constructs a point from the given data buffer. |
|
ESRIPoint(double _x,
double _y)
Initializes a point with the given coordinates. |
Method Summary | |
boolean |
equals(Object obj)
Determines equality of this instance with any other instance. |
double |
getX()
Returns the X coordinate of this point. |
double |
getY()
Returns the Y coordinate of this point. |
String |
toString()
Converts this point to an appropriate string representation. |
int |
write(byte[] b,
int off)
Writes this point to the given buffer at the given offset. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static NumberFormat format
public double x
public double y
Constructor Detail |
public ESRIPoint()
public ESRIPoint(double _x, double _y)
_x
- the x coordinate_y
- the y coordinatepublic ESRIPoint(byte[] b, int off)
b
- the data bufferoff
- the offset into the bufferMethod Detail |
public double getX()
public double getY()
public String toString()
public int write(byte[] b, int off)
b
- the data bufferoff
- the offset into the buffer
public boolean equals(Object obj)
obj
- another instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |