public class Projected extends java.lang.Object implements IProjected
Modifier and Type | Field and Description |
---|---|
private java.awt.geom.Point2D.Double |
data |
Constructor and Description |
---|
Projected(double east,
double north)
Constructs a new
Projected . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
double |
getEast()
Returns easting.
|
double |
getNorth()
Returns northing.
|
int |
hashCode() |
private void |
readObject(java.io.ObjectInputStream in) |
java.lang.String |
toString() |
private void |
writeObject(java.io.ObjectOutputStream out) |
private transient java.awt.geom.Point2D.Double data
public Projected(double east, double north)
Projected
.east
- eastingnorth
- northingpublic double getEast()
IProjected
getEast
in interface IProjected
public double getNorth()
IProjected
getNorth
in interface IProjected
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object