/// <summary> /// </summary> /// <returns></returns> public override int GetHashCode() { unchecked { var hashCode = Easting.GetHashCode(); hashCode = (hashCode * 397) ^ Northing.GetHashCode(); hashCode = (hashCode * 397) ^ LatZone.GetHashCode(); hashCode = (hashCode * 397) ^ LngZone; return(hashCode); } }
/// <summary> /// Convert this UTM reference to a String representation for printing out. /// </summary> /// <returns>A string representation of this UTM reference.</returns> public override string ToString() { return(LngZone.ToString() + LatZone.ToString() + " " + (int)Easting + " " + (int)Northing); }