GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
tin.c File Reference

Vector library - TIN. More...

#include <grass/vector.h>
Include dependency graph for tin.c:

Go to the source code of this file.

Functions

int Vect_tin_get_z (struct Map_info *Map, double tx, double ty, double *tz, double *angle, double *slope)
 Calculates z coordinate for point from TIN. More...
 

Detailed Description

Vector library - TIN.

Higher level functions for reading/writing/manipulating vectors.

(C) 2001-2009 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
Radim Blazek

Definition in file tin.c.

Function Documentation

◆ Vect_tin_get_z()

int Vect_tin_get_z ( struct Map_info Map,
double  tx,
double  ty,
double *  tz,
double *  angle,
double *  slope 
)

Calculates z coordinate for point from TIN.

Parameters
Mappointer to vector map
tx,typoint coordinates
[out]tzz-coordinate of point
[out]angleangle
[out]slopeslope
Returns
1 on success,
0 point is not in area,
-1 area has not 4 points or has island

Definition at line 32 of file tin.c.