GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
OGSF library - manipulating surfaces (lower level functions) More...
Go to the source code of this file.
Functions | |
void | gsdiff_set_SDscale (float scale) |
Set scale. More... | |
float | gsdiff_get_SDscale (void) |
Get scale. More... | |
void | gsdiff_set_SDref (geosurf *gsref) |
ADD. More... | |
geosurf * | gsdiff_get_SDref (void) |
ADD. More... | |
float | gsdiff_do_SD (float val, int offset) |
ADD. More... | |
OGSF library - manipulating surfaces (lower level functions)
GRASS OpenGL gsurf OGSF Library
Routines to set up automatic on-the-fly recalculation of surface elevations, doing a "scaled difference" using another surface for reference
Note that we're using a true difference here, between data set values, no translations, etc.
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gsdiff.c.
float gsdiff_do_SD | ( | float | val, |
int | offset | ||
) |
ADD.
val | |
offset |
Definition at line 94 of file gsdiff.c.
References GET_MAPATT.
Referenced by gs_get_att_typbuff(), and gsd_wire_surf_const().
geosurf* gsdiff_get_SDref | ( | void | ) |
ADD.
Definition at line 77 of file gsdiff.c.
References NULL.
Referenced by gs_get_att_typbuff(), GS_get_SDsurf(), and gsd_wire_surf_const().
float gsdiff_get_SDscale | ( | void | ) |
void gsdiff_set_SDref | ( | geosurf * | gsref | ) |
ADD.
gsref |
Definition at line 64 of file gsdiff.c.
References ATT_TOPO, and gs_get_att_typbuff().
Referenced by GS_set_SDsurf(), and GS_unset_SDsurf().