/// <summary> /// Determines whether the specified <see cref="GeographicPosition" />, is equal to this instance. /// </summary> /// <param name="other">The <see cref="GeographicPosition" /> to compare with this instance.</param> /// <returns> /// <c>true</c> if the specified <see cref="GeographicPosition" /> is equal to this instance; otherwise, <c>false</c>. /// </returns> protected bool Equals(GeographicPosition other) { return(Coordinates.SequenceEqual(other.Coordinates, DoubleComparer)); }
/// <summary> /// Determines whether the specified <see cref="GeographicPosition" />, is equal to this instance. /// </summary> /// <param name="other">The <see cref="GeographicPosition" /> to compare with this instance.</param> /// <returns> /// <c>true</c> if the specified <see cref="GeographicPosition" /> is equal to this instance; otherwise, <c>false</c>. /// </returns> protected bool Equals(GeographicPosition other) { return Coordinates.SequenceEqual(other.Coordinates, DoubleComparer); }