grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

exag.c File Reference

Nviz library – Exaggeration functions. More...

#include <grass/nviz.h>
Include dependency graph for exag.c:

Go to the source code of this file.


int Nviz_get_exag_height (double *val, double *min, double *max)
 Get view height. More...
double Nviz_get_exag ()
 Get view z-exag value. More...

Detailed Description

Nviz library – Exaggeration functions.

Based on visualization/nviz/src/exag.c

(C) 2008, 2010 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.

Updated/modified by Martin Landa <landa.martin> (Google SoC 2008/2010)

Definition in file exag.c.

Function Documentation

◆ Nviz_get_exag()

double Nviz_get_exag ( )

Get view z-exag value.

Call after initial data has been loaded


Definition at line 76 of file exag.c.

References G_debug(), G_free(), GS_get_exag_guess(), and GS_get_surf_list().

◆ Nviz_get_exag_height()

int Nviz_get_exag_height ( double *  val,
double *  min,
double *  max 

Get view height.

Call after initial data has been loaded

[out]valheight value
[out]minmin value (or NULL)
[out]maxmax value (or NULL)

Definition at line 28 of file exag.c.

References G_debug(), GS_get_exag_guess(), GS_get_longdim(), GS_get_surf_list(), GS_get_zrange_nz(), max, and min.