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