Exemple #1
0
        public override bool Equals(ForeignVertex other)
        {
            if (other == null)
            {
                return(false);
            }
            if (other == this)
            {
                return(true);
            }

            var otherVertex = other as BezierPatchForeignVertex;

            return(otherVertex != null && otherVertex.index == index);
        }
        public override bool Equals(ForeignVertex other)
        {
            if (other == null)
                return false;
            if (other == this)
                return true;

            var otherVertex = other as BezierPatchForeignVertex;
            return otherVertex != null && otherVertex.index == index;
        }