|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.me.jstott.coordconv.OSGBGridReference
An object to represent an OSGB easting and northing pair
Constructor Summary | |
OSGBGridReference(double easting,
double northing)
Construct an easting and northing pair |
Method Summary | |
double |
getEasting()
Get the easting |
double |
getNorthing()
Get the northing |
void |
setEasting(double i)
Set the easting |
void |
setNorthing(double i)
Set the northing |
java.lang.String |
toString()
Return a string representation of the easting and northing in the form (easting,northing) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OSGBGridReference(double easting, double northing)
easting
- the easting in metresnorthing
- the northing in metresMethod Detail |
public double getEasting()
public double getNorthing()
public void setEasting(double i)
i
- the new value of the eastingpublic void setNorthing(double i)
i
- the new value of the northingpublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |