GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-6596d49e63
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 UNUSED, double *slope UNUSED)
 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  UNUSED,
double *slope  UNUSED 
)

Calculates z coordinate for point from TIN.

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

Definition at line 31 of file tin.c.