GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
maskfn.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/raster3d.h>
#include <grass/glocale.h>
Include dependency graph for maskfn.c:

Go to the source code of this file.

Functions

int Rast3d_mask_d_select (DCELL *x, d_Mask *mask)
 
DCELL Rast3d_mask_match_d_interval (DCELL x, d_Interval *I)
 
void Rast3d_parse_vallist (char **vallist, d_Mask **d_mask)
 

Function Documentation

◆ Rast3d_mask_d_select()

int Rast3d_mask_d_select ( DCELL x,
d_Mask mask 
)

Definition at line 46 of file maskfn.c.

References _d_mask::list, _d_interval::next, NULL, and Rast3d_mask_match_d_interval().

◆ Rast3d_mask_match_d_interval()

DCELL Rast3d_mask_match_d_interval ( DCELL  x,
d_Interval I 
)

Definition at line 59 of file maskfn.c.

References _d_interval::high, _d_interval::inf, and _d_interval::low.

Referenced by Rast3d_mask_d_select().

◆ Rast3d_parse_vallist()

void Rast3d_parse_vallist ( char **  vallist,
d_Mask **  d_mask 
)

Definition at line 101 of file maskfn.c.

References G_malloc, and x.