GRASS 8 Programmer's Manual  8.5.0dev(2025)-c070206eb1
gsurf_att Struct Reference

#include <ogsf.h>

Data Fields

unsigned int att_src
 NOTSET_ATT, MAP_ATT, CONST_ATT, FUNC_ATT. More...
 
unsigned int att_type
 ATTY_INT, ATTY_SHORT, ATTY_CHAR, or ATTY_FLOAT. More...
 
int hdata
 handle to dataset More...
 
int(* user_func )(void)
 
float constant
 
int * lookup
 
float min_nz
 
float max_nz
 
float range_nz
 
float default_null
 

Detailed Description

Definition at line 246 of file ogsf.h.

Field Documentation

◆ att_src

unsigned int gsurf_att::att_src

◆ att_type

unsigned int gsurf_att::att_type

ATTY_INT, ATTY_SHORT, ATTY_CHAR, or ATTY_FLOAT.

Definition at line 251 of file ogsf.h.

Referenced by gs_get_att_type(), gs_init_surf(), and gs_malloc_lookup().

◆ constant

◆ default_null

float gsurf_att::default_null

Definition at line 263 of file ogsf.h.

Referenced by gs_init_surf(), and gs_set_defaults().

◆ hdata

int gsurf_att::hdata

handle to dataset

Definition at line 254 of file ogsf.h.

Referenced by gs_get_att_typbuff(), GS_get_cat_at_xy(), gs_init_surf(), gs_set_defaults(), and Gs_update_attrange().

◆ lookup

int* gsurf_att::lookup
Todo:
: use transform instead

Definition at line 261 of file ogsf.h.

Referenced by gs_init_surf(), gs_malloc_lookup(), gs_mapcolor(), and gs_set_defaults().

◆ max_nz

float gsurf_att::max_nz

Definition at line 262 of file ogsf.h.

Referenced by gs_init_surf(), and Gs_update_attrange().

◆ min_nz

float gsurf_att::min_nz

Definition at line 262 of file ogsf.h.

Referenced by gs_init_surf(), and Gs_update_attrange().

◆ range_nz

float gsurf_att::range_nz

Definition at line 262 of file ogsf.h.

Referenced by gs_init_surf(), and Gs_update_attrange().

◆ user_func

int(* gsurf_att::user_func) (void)

Not yet supported

Definition at line 257 of file ogsf.h.

Referenced by gs_init_surf(), gsd_surf(), and gsd_wire_surf().


The documentation for this struct was generated from the following file: