|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|


Go to the source code of this file.
Functions | |
| void | Rast3d_fatal_error (const char *,...) |
| Prints fatal error message. | |
| void | Rast3d_fatal_error_noargs (const char *) |
| #define COL_TO_EASTERN | ( | region, | |
| x | |||
| ) | region->west + x * region->ew_res; |
Definition at line 114 of file raster3d_intern.h.
| #define COORD_TO_LOCATION | ( | region, | |
| x, | |||
| y, | |||
| z, | |||
| north, | |||
| east, | |||
| top | |||
| ) |
Definition at line 117 of file raster3d_intern.h.
| #define DEPTH_TO_TOP | ( | region, | |
| z | |||
| ) | region->bottom + z * region->tb_res; |
Definition at line 116 of file raster3d_intern.h.
| #define EASTERN_TO_COL | ( | east, | |
| region | |||
| ) | (east - region->west) / (region->ew_res); |
Definition at line 96 of file raster3d_intern.h.
| #define LOCATION_TO_COORD | ( | region, | |
| north, | |||
| east, | |||
| top, | |||
| x, | |||
| y, | |||
| z | |||
| ) |
Definition at line 105 of file raster3d_intern.h.
| #define NORTHERN_TO_ROW | ( | north, | |
| region | |||
| ) | (region->north - north) / (region->ns_res); |
Definition at line 97 of file raster3d_intern.h.
| #define RASTER3D_HAS_INDEX 1 |
Definition at line 27 of file raster3d_intern.h.
| #define RASTER3D_IS_CORRECT_TYPE | ( | t | ) | (((t) == FCELL_TYPE) || ((t) == DCELL_TYPE)) |
Definition at line 16 of file raster3d_intern.h.
Definition at line 9 of file raster3d_intern.h.
Definition at line 25 of file raster3d_intern.h.
Definition at line 24 of file raster3d_intern.h.
| #define RASTER3D_NO_INDEX 0 |
Definition at line 28 of file raster3d_intern.h.
Definition at line 31 of file raster3d_intern.h.
| #define RASTER3D_READ_DATA 0 |
Definition at line 19 of file raster3d_intern.h.
| #define RASTER3D_REGION_BOTTOM "Bottom" |
Definition at line 79 of file raster3d_intern.h.
| #define RASTER3D_REGION_COLS "nofCols" |
Definition at line 81 of file raster3d_intern.h.
| #define RASTER3D_REGION_DEPTHS "nofDepths" |
Definition at line 82 of file raster3d_intern.h.
| #define RASTER3D_REGION_EAST "East" |
Definition at line 76 of file raster3d_intern.h.
Definition at line 85 of file raster3d_intern.h.
| #define RASTER3D_REGION_NORTH "North" |
Definition at line 74 of file raster3d_intern.h.
Definition at line 86 of file raster3d_intern.h.
| #define RASTER3D_REGION_PROJ "Proj" |
Definition at line 83 of file raster3d_intern.h.
| #define RASTER3D_REGION_ROWS "nofRows" |
Definition at line 80 of file raster3d_intern.h.
| #define RASTER3D_REGION_SOUTH "South" |
Definition at line 75 of file raster3d_intern.h.
Definition at line 87 of file raster3d_intern.h.
| #define RASTER3D_REGION_TOP "Top" |
Definition at line 78 of file raster3d_intern.h.
| #define RASTER3D_REGION_WEST "West" |
Definition at line 77 of file raster3d_intern.h.
| #define RASTER3D_REGION_ZONE "Zone" |
Definition at line 84 of file raster3d_intern.h.
Definition at line 30 of file raster3d_intern.h.
| #define RASTER3D_VALID_OPERATION | ( | o | ) | (((o) == RASTER3D_WRITE_DATA) || ((o) == RASTER3D_READ_DATA)) |
Definition at line 21 of file raster3d_intern.h.
| #define RASTER3D_VALID_XDR_OPTION | ( | o | ) | (((o) == RASTER3D_USE_XDR) || ((o) == RASTER3D_NO_XDR)) |
Definition at line 33 of file raster3d_intern.h.
| #define RASTER3D_WRITE_DATA 1 |
Definition at line 18 of file raster3d_intern.h.
| #define RASTER3D_XDR_DOUBLE_LENGTH |
Definition at line 12 of file raster3d_intern.h.
Definition at line 14 of file raster3d_intern.h.
Definition at line 11 of file raster3d_intern.h.
| #define ROW_TO_NORTHERN | ( | region, | |
| y | |||
| ) | region->north - y * region->ns_res; |
Definition at line 115 of file raster3d_intern.h.
| #define TOP_TO_DEPTH | ( | top, | |
| region | |||
| ) | (top - region->bottom) / (region->tb_res); |
Definition at line 99 of file raster3d_intern.h.
Prints fatal error message.
This function prints the fatal error message msg, and terminates the program with an error status.
| msg |
Definition at line 48 of file raster3d/error.c.
References G_fatal_error().
Referenced by N_read_rast3d_to_array_3d(), N_write_array_3d_to_rast3d(), Rast3d__compute_cache_size(), Rast3d_adjust_region(), Rast3d_adjust_region_res(), Rast3d_autolock_off(), Rast3d_autolock_on(), Rast3d_begin_cycle(), Rast3d_cache_hash_load_name(), Rast3d_cache_hash_remove_name(), Rast3d_cache_size_encode(), Rast3d_change_precision(), Rast3d_change_type(), Rast3d_compare_files(), Rast3d_extern_length(), Rast3d_fill_header(), Rast3d_flush_tile_cube(), Rast3d_flush_tiles_in_cube(), Rast3d_fpcompress_read_xdr_nums(), Rast3d_get_block_nocache(), Rast3d_get_double_region(), Rast3d_get_float_region(), Rast3d_init_defaults(), Rast3d_length(), Rast3d_location2coord2(), Rast3d_lock_tile(), Rast3d_long_decode(), Rast3d_make_aligned_volume_file(), Rast3d_min_unlocked(), Rast3d_open_cell_old(), Rast3d_read_doubles(), Rast3d_read_ints(), Rast3d_read_tile(), Rast3d_retile(), Rast3d_rle_count_only(), Rast3d_rle_decode(), Rast3d_rle_encode(), Rast3d_set_cache_limit(), Rast3d_set_cache_size(), Rast3d_set_compression_mode(), Rast3d_set_file_type(), Rast3d_set_tile_dimension(), Rast3d_unlock_all(), Rast3d_unlock_tile(), Rast3d_write_ascii(), Rast3d_write_doubles(), Rast3d_write_ints(), Rast3d_write_tile(), and test_rle().
Definition at line 60 of file raster3d/error.c.
|
extern |
Definition at line 67 of file defaults.c.
Referenced by Rast3d__compute_cache_size(), Rast3d_fill_header(), Rast3d_get_cache_size(), Rast3d_init_defaults(), and Rast3d_set_cache_size().
|
extern |
Definition at line 68 of file defaults.c.
Referenced by Rast3d_fill_header(), Rast3d_get_cache_limit(), Rast3d_init_defaults(), and Rast3d_set_cache_limit().
|
extern |
Definition at line 65 of file defaults.c.
Referenced by Rast3d_get_compression_mode(), Rast3d_init_defaults(), Rast3d_open_cell_new(), and Rast3d_set_compression_mode().
Definition at line 72 of file defaults.c.
Referenced by Rast3d_init_defaults(), and Rast3d_set_error_fun().
|
extern |
Definition at line 69 of file defaults.c.
Referenced by Rast3d_get_file_type(), Rast3d_init_defaults(), Rast3d_open_cell_new(), and Rast3d_set_file_type().
|
extern |
Definition at line 66 of file defaults.c.
Referenced by Rast3d_get_compression_mode(), Rast3d_init_defaults(), Rast3d_open_cell_new(), and Rast3d_set_compression_mode().
|
extern |
Definition at line 70 of file defaults.c.
Referenced by Rast3d_get_tile_dimension(), Rast3d_init_defaults(), Rast3d_open_cell_new(), and Rast3d_set_tile_dimension().
|
extern |
Definition at line 73 of file defaults.c.
Referenced by Rast3d_init_defaults(), and Rast3d_open_cell_new().
|
extern |
Definition at line 64 of file defaults.c.
|
extern |
Definition at line 74 of file defaults.c.
Referenced by Rast3d_init_defaults(), and Rast3d_open_cell_new().
|
extern |
Definition at line 8 of file raster3d/window.c.
Referenced by Rast3d_get_window(), Rast3d_set_window(), and Rast3d_window_ptr().
|
extern |
Definition at line 11 of file raster3d/header.c.
Referenced by Rast3d_fill_header().
|
extern |
Definition at line 12 of file raster3d/header.c.
Referenced by Rast3d_fill_header().
|
extern |
Definition at line 13 of file raster3d/header.c.
Referenced by Rast3d_init_copy_from_xdr(), Rast3d_init_copy_to_xdr(), and Rast3d_init_fp_xdr().
|
extern |
Definition at line 14 of file raster3d/header.c.
Referenced by Rast3d_init_fp_xdr().