GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
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.

Functions

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.

Author
Updated/modified by Martin Landa <landa.martin gmail.com> (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

Returns
value

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

Parameters
[out]valheight value
[out]minmin value (or NULL)
[out]maxmax value (or NULL)
Returns
1

Definition at line 28 of file exag.c.

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