Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj is EndPoint)
            {
                var other = obj as EndPoint;
                return(position.Equals(other.position) && begin.Equals(other.begin) && angle.Equals(other.angle));

                // We do not care about the segment being the same since that would create a circular reference
            }

            return(false);
        }