GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/raster.h>
#include "raster3d_intern.h"
Go to the source code of this file.
Functions | |
int | Rast3d_g3d_type2cell_type (int g3dType) |
void | Rast3d_copy_float2Double (const float *src, int offsSrc, double *dst, int offsDst, int nElts) |
void | Rast3d_copy_double2Float (const double *src, int offsSrc, float *dst, int offsDst, int nElts) |
void | Rast3d_copy_values (const void *src, int offsSrc, int typeSrc, void *dst, int offsDst, int typeDst, int nElts) |
int | Rast3d_length (int t) |
int | Rast3d_extern_length (int t) |
void Rast3d_copy_double2Float | ( | const double * | src, |
int | offsSrc, | ||
float * | dst, | ||
int | offsDst, | ||
int | nElts | ||
) |
Definition at line 38 of file raster3d/misc.c.
void Rast3d_copy_float2Double | ( | const float * | src, |
int | offsSrc, | ||
double * | dst, | ||
int | offsDst, | ||
int | nElts | ||
) |
Definition at line 23 of file raster3d/misc.c.
void Rast3d_copy_values | ( | const void * | src, |
int | offsSrc, | ||
int | typeSrc, | ||
void * | dst, | ||
int | offsDst, | ||
int | typeDst, | ||
int | nElts | ||
) |
Definition at line 53 of file raster3d/misc.c.
int Rast3d_extern_length | ( | int | t | ) |
Definition at line 90 of file raster3d/misc.c.
References DCELL_TYPE, FCELL_TYPE, Rast3d_fatal_error(), RASTER3D_IS_CORRECT_TYPE, RASTER3D_XDR_DOUBLE_LENGTH, and RASTER3D_XDR_FLOAT_LENGTH.
int Rast3d_g3d_type2cell_type | ( | int | g3dType | ) |
Definition at line 13 of file raster3d/misc.c.
References DCELL_TYPE, and FCELL_TYPE.
int Rast3d_length | ( | int | t | ) |
Definition at line 78 of file raster3d/misc.c.
References DCELL_TYPE, FCELL_TYPE, Rast3d_fatal_error(), and RASTER3D_IS_CORRECT_TYPE.