Voronoi.Algorithms.FortuneHelpers.Vector.GetHashCode C# (CSharp) Method

GetHashCode() public method

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