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