Exemple #1
0
 public Bounds2D ToBounds2D()
 {
     return(new Bounds2D(MinPoint.ToPoint2D(), MaxPoint.ToPoint2D()));
 }
Exemple #2
0
 public override int GetHashCode() =>
 MinPoint.GetHashCode() ^ MaxPoint.GetHashCode();
Exemple #3
0
 public Bounds2I ToBounds2I()
 {
     return(new Bounds2I(MinPoint.ToPoint2I(), MaxPoint.ToPoint2I()));
 }