TDCTRI(3NCARG) | NCAR GRAPHICS | TDCTRI(3NCARG) |
TDCTRI - Cut triangles defined by a triangle list.
CALL TDCTRI (RTRI, MTRI, NTRI, IAXS, RCUT)
#include <ncarg/ncargC.h>
void c_tdctri(float *rtri, int mtri, int *ntri, int iaxs, float rcut)
This routine, given a list of NTRI triangles in the array RTRI, an axis identifier IAXS (1 => U axis, 2 => V axis, 3 => W axis), and a value RCUT along that axis, cuts all the triangles that intersect the plane perpendicular to the identified axis at the specified value into two pieces, one on either side of the plane. This is useful when one is rendering the triangles in colors that depend on their position in U, V, or W. (See the example "tdex04".)
The arguments of TDCTRI are as follows:
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
To use TDCTRI or c_tdctri, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: tdclrs, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri, tdstrs
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
July 1997 | UNIX |