static public IGrid <T> BoundSub <T>(this IGrid <T> item, VectorI2 index, VectorI2 size) { return(item.BoundSubSection <T>(index, index + size)); }
static public IGrid <T> BoundSubArea <T>(this IGrid <T> item, int x, int y, int width_radius, int height_radius) { return(item.BoundSubSection <T>(x - width_radius, y - height_radius, x + width_radius, y + height_radius)); }
static public IGrid <T> BoundSub <T>(this IGrid <T> item, int x, int y, int width, int height) { return(item.BoundSubSection <T>(x, y, x + width, y + height)); }
static public IGrid <T> BoundSubSection <T>(this IGrid <T> item, VectorI2 lower, VectorI2 upper) { return(item.BoundSubSection(lower.x, lower.y, upper.x, upper.y)); }