tin.c File Reference

#include <grass/Vect.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


Function Documentation

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

Returns:
1 on success, 0 point is not in area, -1 area has not 4 points or has island
Parameters:
Map_info structure

Definition at line 30 of file tin.c.

References Vect_find_area(), Vect_get_area_points(), and Vect_new_line_struct().


Generated on Sun Apr 6 17:32:54 2008 for GRASS by  doxygen 1.5.5