Example #1
0
 public override bool Equals(AbstractEdge <Point> other)
 {
     if (other is Edge)
     {
         return(this.Equals((other as Edge)));
     }
     else
     {
         return(base.Equals(other));
     }
 }
Example #2
0
 public override bool Equals(AbstractEdge <PointType> other)
 {
     if (other is IValuedEdgeBasics <PointType> )
     {
         return(this.Equals(other as IValuedEdgeBasics <PointType>));
     }
     else
     {
         return(base.Equals(other));
     }
 }
Example #3
0
        public virtual bool Equals(AbstractEdge <PointType> other)
        {
            AbstractEdgeEqualityComparer <PointType> defComperer = new AbstractEdgeEqualityComparer <PointType>();

            return(defComperer.Equals(this, other));
        }
Example #4
0
 public AbstractEdge(string Name, AbstractEdge <PointType> EdgeToCopy)
 {
     this.Name       = Name;
     this.StartPoint = EdgeToCopy.StartPoint;
     this.EndPoint   = EdgeToCopy.EndPoint;
 }