protected IntBounds RecalculateBounds() { _bounds = new IntBounds(); foreach (var index in _grid.Keys) { ExtendBounds(index); } _boundsDirty = false; return(_bounds); }
protected BaseSparseGrid() { _grid = new Dictionary <TKey, TValue>(); _bounds = new IntBounds(); }