GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include "G3d_intern.h"
Go to the source code of this file.
Functions | |
int | G3d_g3dType2cellType (int g3dType) |
void | G3d_copyFloat2Double (const float *src, int offsSrc, double *dst, int offsDst, int nElts) |
void | G3d_copyDouble2Float (const double *src, int offsSrc, float *dst, int offsDst, int nElts) |
void | G3d_copyValues (const void *src, int offsSrc, int typeSrc, void *dst, int offsDst, int typeDst, int nElts) |
int | G3d_length (int t) |
int | G3d_externLength (int t) |
Definition at line 37 of file g3dmisc.c.
Referenced by G3d_copyValues().
Definition at line 22 of file g3dmisc.c.
Referenced by G3d_copyValues().
void G3d_copyValues | ( | const void * | src, |
int | offsSrc, | ||
int | typeSrc, | ||
void * | dst, | ||
int | offsDst, | ||
int | typeDst, | ||
int | nElts | ||
) |
Definition at line 52 of file g3dmisc.c.
References G3d_copyDouble2Float(), G3d_copyFloat2Double(), G3d_length(), and G_incr_void_ptr().
Referenced by G3d_changeType(), G3d_copyFromXdr(), G3d_copyToXdr(), and G3d_getBlockNocache().
Definition at line 89 of file g3dmisc.c.
References G3d_fatalError(), G3D_IS_CORRECT_TYPE, G3D_XDR_DOUBLE_LENGTH, and G3D_XDR_FLOAT_LENGTH.
Referenced by G3d_copyFromXdr(), G3d_copyToXdr(), G3d_fillHeader(), G3d_initCopyFromXdr(), and G3d_initCopyToXdr().
Definition at line 12 of file g3dmisc.c.
Referenced by G3d_range_updateFromTile().
Definition at line 77 of file g3dmisc.c.
References G3d_fatalError(), and G3D_IS_CORRECT_TYPE.
Referenced by G3d_allocTilesType(), G3d_copyValues(), G3d_fillHeader(), G3d_getBlock(), G3d_initCopyFromXdr(), G3d_initCopyToXdr(), G3d_makeAlignedVolumeFile(), G3d_maskTile(), and G3d_range_updateFromTile().