/// <summary>Gets the hash code.</summary> /// <returns>The hash code.</returns> public override int GetHashCode() { return(Geography.ComputeHashCodeFor(this.CoordinateSystem, new[] { this.IsEmpty ? 0 : this.Latitude, this.IsEmpty ? 0 : this.Longitude, this.Z ?? 0, this.M ?? 0 })); }