31 G_fatal_error(
_(
"Internal error: Rast_get_window() called with split window." 32 " Use Rast_get_input_window() or Rast_get_output_window() instead."));
90 G_fatal_error(
_(
"Internal error: Rast_window_rows() called with split window." 91 " Use Rast_input_window_rows() or Rast_output_window_rows() instead."));
125 G_fatal_error(
_(
"Internal error: Rast_window_cols() called with split window." 126 " Use Rast_input_window_cols() or Rast_output_window_cols() instead."));
225 return (east - window->
west) / window->
ew_res;
struct Cell_head rd_window
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
2D/3D raster map header (used also for region)
double west
Extent coordinates (west)
double Rast_col_to_easting(double col, const struct Cell_head *window)
Column to easting.
int Rast_window_rows(void)
Number of rows in active window.
void Rast__init_window(void)
struct Cell_head wr_window
double north
Extent coordinates (north)
void Rast_get_input_window(struct Cell_head *window)
Read the current input window.
void Rast_get_output_window(struct Cell_head *window)
Read the current output window.
int Rast_window_cols(void)
Number of columns in active window.
void Rast_get_window(struct Cell_head *window)
Read the current window.
int Rast_input_window_rows(void)
Number of rows in active input window.
double Rast_row_to_northing(double row, const struct Cell_head *window)
Row to northing.
double G_adjust_easting(double, const struct Cell_head *)
Returns east not smaller than west.
int cols
Number of columns for 2D data.
double Rast_northing_to_row(double north, const struct Cell_head *window)
Northing to row.
double ns_res
Resolution - north to south cell size for 2D data.
double east
Extent coordinates (east)
int Rast_output_window_rows(void)
Number of rows in active output window.
double Rast_easting_to_col(double east, const struct Cell_head *window)
Easting to column.
double ew_res
Resolution - east to west cell size for 2D data.
int rows
Number of rows for 2D data.
int Rast_output_window_cols(void)
Number of columns in active output window.
int Rast_input_window_cols(void)
Number of columns in active input window.