|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
#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 36 of file raster3d/misc.c.
Referenced by Rast3d_copy_values().
| void Rast3d_copy_float2Double | ( | const float * | src, |
| int | offsSrc, | ||
| double * | dst, | ||
| int | offsDst, | ||
| int | nElts | ||
| ) |
Definition at line 22 of file raster3d/misc.c.
Referenced by Rast3d_copy_values().
| void Rast3d_copy_values | ( | const void * | src, |
| int | offsSrc, | ||
| int | typeSrc, | ||
| void * | dst, | ||
| int | offsDst, | ||
| int | typeDst, | ||
| int | nElts | ||
| ) |
Definition at line 50 of file raster3d/misc.c.
References DCELL_TYPE, FCELL_TYPE, G_incr_void_ptr, Rast3d_copy_double2Float(), Rast3d_copy_float2Double(), and Rast3d_length().
Referenced by Rast3d_change_type(), Rast3d_copy_from_xdr(), Rast3d_copy_to_xdr(), and Rast3d_get_block_nocache().
Definition at line 87 of file raster3d/misc.c.
References DCELL_TYPE, FCELL_TYPE, Rast3d_fatal_error(), RASTER3D_IS_CORRECT_TYPE, RASTER3D_XDR_DOUBLE_LENGTH, RASTER3D_XDR_FLOAT_LENGTH, and t.
Referenced by Rast3d_copy_from_xdr(), Rast3d_copy_to_xdr(), Rast3d_fill_header(), Rast3d_init_copy_from_xdr(), and Rast3d_init_copy_to_xdr().
Definition at line 13 of file raster3d/misc.c.
References DCELL_TYPE, and FCELL_TYPE.
Referenced by Rast3d_range_update_from_tile().
Definition at line 75 of file raster3d/misc.c.
References DCELL_TYPE, FCELL_TYPE, Rast3d_fatal_error(), RASTER3D_IS_CORRECT_TYPE, and t.
Referenced by Rast3d_alloc_tiles_type(), Rast3d_copy_values(), Rast3d_fill_header(), Rast3d_get_block(), Rast3d_init_copy_from_xdr(), Rast3d_init_copy_to_xdr(), Rast3d_make_aligned_volume_file(), Rast3d_mask_tile(), and Rast3d_range_update_from_tile().