GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
Loading...
Searching...
No Matches
volume.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/raster.h>
#include <grass/raster3d.h>
Include dependency graph for volume.c:

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)
 

Function Documentation

◆ Rast3d_get_aligned_volume()

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().

◆ Rast3d_get_volume()

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().

◆ Rast3d_get_volume_a()

void Rast3d_get_volume_a ( void map,
double  u[2][2][2][3],
int  nx,
int  ny,
int  nz,
void volumeBuf,
int  type 
)

◆ Rast3d_make_aligned_volume_file()