/// <summary>Returns a hash code value for this envelope.</summary> /// <returns>A hash code value for this envelope.</returns> public override int GetHashCode() { int hashCode = m_description.GetHashCode(); hashCode = com.epl.geometry.NumberUtils.Hash(hashCode, m_envelope.GetHashCode()); if (!IsEmpty() && m_attributes != null) { for (int i = 0, n = (m_description.GetTotalComponentCount() - 2) * 2; i < n; i++) { hashCode = com.epl.geometry.NumberUtils.Hash(hashCode, m_attributes[i]); } } return(hashCode); }