public class ESRIPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
x
The X coordinate.
|
double |
y
The Y coordinate.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 bufferpublic 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 bufferpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- another instancepublic int hashCode()
hashCode
in class java.lang.Object
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details