public bool Equals(Line2D other)
 {
     return(PointA.Equals(other.PointA) && PointB.Equals(other.PointB));
 }
 public bool Equals(Rectangle other)
 {
     return(PointA.Equals(other.PointA) && PointB.Equals(other.PointB) && PointC.Equals(other.PointC) && PointD.Equals(other.PointD));
 }
Beispiel #3
0
 public bool HasOverlappingLocation(Hop hop)
 {
     return(PointA.Equals(hop.PointA) || PointB.Equals(hop.PointB) || PointA.Equals(hop.PointB) || PointB.Equals(hop.PointA));
 }