Beispiel #1
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }
            if (o == null || GetType() != o.GetType())
            {
                return(false);
            }

            BufferedLineString that = (BufferedLineString)o;

            if (that.buf.CompareTo(buf) != 0)
            {
                return(false);
            }
            if (!segments.Equals(that.segments))
            {
                return(false);
            }

            return(true);
        }