GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
null.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/raster.h>
#include "raster3d_intern.h"
Include dependency graph for null.c:

Go to the source code of this file.

Functions

int Rast3d_is_null_value_num (const void *n, int type)
 
void Rast3d_set_null_value (void *c, int nofElts, int type)
 Fills the vector pointed to by c with nofElts NULL-values of type. More...
 

Function Documentation

◆ Rast3d_is_null_value_num()

int Rast3d_is_null_value_num ( const void *  n,
int  type 
)

Definition at line 12 of file null.c.

Referenced by N_copy_array_3d(), and Rast3d_print_header().

◆ Rast3d_set_null_value()

void Rast3d_set_null_value ( void *  c,
int  nofElts,
int  type 
)

Fills the vector pointed to by c with nofElts NULL-values of type.

Parameters
c
nofElts
type
Returns
void

Definition at line 35 of file null.c.

Referenced by N_copy_array_3d(), Rast3d_get_double_region(), and Rast3d_get_float_region().