|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include <grass/raster.h>#include <grass/raster3d.h>
Go to the source code of this file.
Functions | |
| void | Rast3d_get_volume_a (void *map, double u[2][2][2][3], int nx, int ny, int nz, void *volumeBuf, int type) |
| void | Rast3d_get_volume (void *map, double originNorth, double originWest, double originBottom, double vxNorth, double vxWest, double vxBottom, double vyNorth, double vyWest, double vyBottom, double vzNorth, double vzWest, double vzBottom, int nx, int ny, int nz, void *volumeBuf, int type) |
| void | Rast3d_get_aligned_volume (void *map, double originNorth, double originWest, double originBottom, double lengthNorth, double lengthWest, double lengthBottom, int nx, int ny, int nz, void *volumeBuf, int type) |
| void | Rast3d_make_aligned_volume_file (void *map, const char *fileName, double originNorth, double originWest, double originBottom, double lengthNorth, double lengthWest, double lengthBottom, int nx, int ny, int nz) |
| void Rast3d_get_aligned_volume | ( | void * | map, |
| double | originNorth, | ||
| double | originWest, | ||
| double | originBottom, | ||
| double | lengthNorth, | ||
| double | lengthWest, | ||
| double | lengthBottom, | ||
| int | nx, | ||
| int | ny, | ||
| int | nz, | ||
| void * | volumeBuf, | ||
| int | type | ||
| ) |
Definition at line 180 of file volume.c.
References Rast3d_get_volume().
Referenced by Rast3d_make_aligned_volume_file().
| void Rast3d_get_volume | ( | void * | map, |
| double | originNorth, | ||
| double | originWest, | ||
| double | originBottom, | ||
| double | vxNorth, | ||
| double | vxWest, | ||
| double | vxBottom, | ||
| double | vyNorth, | ||
| double | vyWest, | ||
| double | vyBottom, | ||
| double | vzNorth, | ||
| double | vzWest, | ||
| double | vzBottom, | ||
| int | nx, | ||
| int | ny, | ||
| int | nz, | ||
| void * | volumeBuf, | ||
| int | type | ||
| ) |
Definition at line 134 of file volume.c.
References Rast3d_get_volume_a().
Referenced by Rast3d_get_aligned_volume().
| void Rast3d_get_volume_a | ( | void * | map, |
| double | u[2][2][2][3], | ||
| int | nx, | ||
| int | ny, | ||
| int | nz, | ||
| void * | volumeBuf, | ||
| int | type | ||
| ) |
Definition at line 44 of file volume.c.
References DCELL_TYPE, r, Rast3d_get_double_region(), Rast3d_get_float_region(), Rast3d_location2coord2(), t, and x.
Referenced by Rast3d_get_volume().
| void Rast3d_make_aligned_volume_file | ( | void * | map, |
| const char * | fileName, | ||
| double | originNorth, | ||
| double | originWest, | ||
| double | originBottom, | ||
| double | lengthNorth, | ||
| double | lengthWest, | ||
| double | lengthBottom, | ||
| int | nx, | ||
| int | ny, | ||
| int | nz | ||
| ) |
Definition at line 194 of file volume.c.
References RASTER3D_Region::bottom, RASTER3D_Region::cols, RASTER3D_Region::depths, RASTER3D_Region::east, G_incr_void_ptr, RASTER3D_Region::north, NULL, Rast3d_close(), Rast3d_fatal_error(), Rast3d_file_type_map(), Rast3d_free(), Rast3d_get_aligned_volume(), Rast3d_get_file_type(), Rast3d_length(), Rast3d_malloc(), Rast3d_open_cell_new(), Rast3d_put_value(), RASTER3D_USE_CACHE_DEFAULT, RASTER3D_Region::rows, RASTER3D_Region::south, RASTER3D_Region::top, RASTER3D_Region::west, and x.