Package uk.co.mccombe.mapping
Class ENPair
java.lang.Object
uk.co.mccombe.mapping.ENPair
An ENPair represents a 2-dimensional coordinate pair used to define position on
a map in terms of "easting" and "northing" distances.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ENPair
public ENPair()Creates a new instance of ENPair -
ENPair
public ENPair(double east, double north) Create an ENPair from two double values- Parameters:
east
- Easting distance (m)north
- Northing distance (m)
-
-
Method Details
-
toString
Provide a String representation of the ENPair -
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)
-