EpForceDirectedGraph.cs.FDGVector2.Equals C# (CSharp) Method

Equals() public method

public Equals ( FDGVector2 p ) : bool
p FDGVector2
return bool
        public bool Equals(FDGVector2 p)
        {
            // If parameter is null return false:
            if ((object)p == null)
            {
                return false;
            }

            // Return true if the fields match:
            return (x == p.x) && (y == p.y);
        }

Same methods

FDGVector2::Equals ( System obj ) : bool