public override bool Equals(object obj) { if (obj is WGS84Point) { WGS84Point other = (WGS84Point) obj; return m_latitude == other.m_latitude && m_longitude == other.m_longitude; } return false; }