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