|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.shape.ESRIPoint
public class ESRIPoint
A class representing an x,y coordinate.
| Field Summary | |
|---|---|
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(java.lang.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. |
int |
hashCode()
|
java.lang.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, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double x
public double y
| Constructor Detail |
|---|
public ESRIPoint()
public ESRIPoint(double _x,
double _y)
_x - the x coordinate_y - the y coordinate
public ESRIPoint(byte[] b,
int off)
b - the data bufferoff - the offset into the buffer| Method Detail |
|---|
public double getX()
public double getY()
public java.lang.String toString()
toString in class java.lang.Object
public int write(byte[] b,
int off)
b - the data bufferoff - the offset into the buffer
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - another instance
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||