c_csstrid(3NCARG) | NCAR GRAPHICS | c_csstrid(3NCARG) |
c_csstrid - calculates a Delaunay triangulation for data on a sphere
int *c_csstrid(int, double [], double [], int *, int *);
int *c_csstrid(n, rlat, rlon, nt, ier);
c_csstrid is called to find a Delaunay triangulation of data randomly positioned on the surface of a sphere. c_csstrid is a double precision version of c_csstri.
c_csstrid returns a pointer to a linear array that contains a sequence of integer triples. The elements of a triple are indices of vertices of a triangle. Each index references an original data point as it occurs in sequence in the input data set (numbering starts at 0). For example, if the triple <5,0,2> were in the list of triples, then (rlat[5],rlon[5]), (rlat[0],rlon[0]), and (rlat[2],rlon[2]) would be vertices of a triangle in the Delaunay triangulation.
To use c_csstrid, load the NCAR Graphics library ngmath.
css_overview, c_cssgrid, c_csstri, cssgrid_errors
Complete documentation for Cssgrid is available at URL
http://ngwww.ucar.edu/ngdoc/ng/ngmath/cssgrid/csshome.html
Copyright (C) 2000
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
May 2000 | UNIX |