Voronoi.Algorithms.FortuneHelpers.Vector.GetHashCode C# (CSharp) 메소드

GetHashCode() 공개 메소드

Retrieves a hashcode that is dependent on the elements
public GetHashCode ( ) : int
리턴 int
        public override int GetHashCode()
        {
            int Erg = 0;
            foreach(double D in data)
                Erg = Erg ^ Math.Round(D,Precision).GetHashCode();
            return Erg;
        }