GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/G3d.h>
Go to the source code of this file.
Functions | |
void | G3d_getVolumeA (void *map, double u[2][2][2][3], int nx, int ny, int nz, void *volumeBuf, int type) |
void | G3d_getVolume (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 | G3d_getAlignedVolume (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 | G3d_makeAlignedVolumeFile (void *map, const char *fileName, double originNorth, double originWest, double originBottom, double lengthNorth, double lengthWest, double lengthBottom, int nx, int ny, int nz) |
void G3d_getAlignedVolume | ( | 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 191 of file g3dvolume.c.
References G3d_getVolume().
Referenced by G3d_makeAlignedVolumeFile().
void G3d_getVolume | ( | 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 144 of file g3dvolume.c.
References G3d_getVolumeA().
Referenced by G3d_getAlignedVolume().
void G3d_getVolumeA | ( | void * | map, |
double | u[2][2][2][3], | ||
int | nx, | ||
int | ny, | ||
int | nz, | ||
void * | volumeBuf, | ||
int | type | ||
) |
Definition at line 51 of file g3dvolume.c.
References G3d_getDoubleRegion(), G3d_getFloatRegion(), G3d_location2coord(), int, r, dialogs::s, and y.
Referenced by G3d_getVolume().
void G3d_makeAlignedVolumeFile | ( | 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 208 of file g3dvolume.c.
References G3d_closeCell(), G3d_fatalError(), G3d_fileTypeMap(), G3d_free(), G3d_getAlignedVolume(), G3d_getFileType(), G3d_length(), G3d_malloc(), G3d_openCellNew(), G3d_putValue(), G_incr_void_ptr(), NULL, and y.