private static double GetMaxUnits(ASCIIParser grid, bool getY = false) { return (getY ? (grid.ReadHeader().yllcenter + grid.Header.nrows) : (grid.ReadHeader().xllcenter + grid.Header.ncols)); }
private static double GetMinUnits(ASCIIParser grid, bool getY = false) { return (getY ? (grid.ReadHeader().yllcenter) : (grid.ReadHeader().xllcenter)); }