5
#include "G3d_intern.h"
7
/*---------------------------------------------------------------------------*/
9
int G3d_isNullValueNum(const void *n, int type)
11
if (type == FCELL_TYPE)
12
return G_is_f_null_value(n);
14
return G_is_d_null_value(n);
17
/*---------------------------------------------------------------------------*/
23
* Fills the vector pointed to by <em>c</em> with <em>nofElts</em> NULL-values
32
void G3d_setNullValue(void *c, int nofElts, int type)
34
if (type == FCELL_TYPE) {
35
G_set_f_null_value((float *)c, nofElts);
39
G_set_d_null_value((double *)c, nofElts);