SharpMap.Geometries.Polygon.GetHashCode C# (CSharp) 메소드

GetHashCode() 공개 메소드

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
리턴 int
        public override int GetHashCode()
        {
            int hash = ExteriorRing.GetHashCode(); ;
            for (int i = 0; i < InteriorRings.Count; i++)
                hash = hash ^ InteriorRings[i].GetHashCode();
            return hash;
        }