GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71746
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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().

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().