31 for (i = 0; i < nElts; i++)
32 dst[i] = (
double)src[i];
46 for (i = 0; i < nElts; i++)
47 dst[i] = (
float)src[i];
54 int offsDst,
int typeDst,
int nElts)
73 memcpy(dst, src, nElts * eltLength);
void Rast3d_copy_float2Double(const float *src, int offsSrc, double *dst, int offsDst, int nElts)
int Rast3d_g3d_type2cell_type(int g3dType)
void Rast3d_copy_values(const void *src, int offsSrc, int typeSrc, void *dst, int offsDst, int typeDst, int nElts)
int Rast3d_extern_length(int t)
#define RASTER3D_XDR_DOUBLE_LENGTH
#define G_incr_void_ptr(ptr, size)
#define RASTER3D_IS_CORRECT_TYPE(t)
void Rast3d_fatal_error(const char *,...) __attribute__((format(printf
void Rast3d_copy_double2Float(const double *src, int offsSrc, float *dst, int offsDst, int nElts)
#define RASTER3D_XDR_FLOAT_LENGTH