GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-847944e18e
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 45 of file maskfn.c.

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

◆ Rast3d_mask_match_d_interval()

DCELL Rast3d_mask_match_d_interval ( DCELL  x,
d_Interval I 
)

Definition at line 58 of file maskfn.c.

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

Referenced by Rast3d_mask_d_select().

◆ Rast3d_parse_vallist()

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

Definition at line 100 of file maskfn.c.

References G_malloc, and x.