Package mccombe.mapping
Class ENPair
- java.lang.Object
-
- mccombe.mapping.ENPair
-
public class ENPair extends java.lang.ObjectAn ENPair represents a 2-dimensional coordinate pair used to define position on a map in terms of "easting" and "northing" distances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleeast()Access the Easting distancedoublenorth()Access the Northing distancejava.lang.StringtoString()Provide a String representation of the ENPair
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Provide a String representation of the ENPair- Overrides:
toStringin classjava.lang.Object- Returns:
- A String showing Easting and Northing distances
-
east
public double east()
Access the Easting distance- Returns:
- the Easting distance(m)
-
north
public double north()
Access the Northing distance- Returns:
- the Northing distance (m)
-
-