1TDGRDS(3NCARG) NCAR GRAPHICS TDGRDS(3NCARG)
2
3
4
6 TDGRDS - Draw perimeters, optionally with ticks or grid lines, on the
7 six sides of a box. This routine calls TDPARA and will therefore change
8 the definition of the reference parallelogram.
9
11 CALL TDGRDS (UMIN, VMIN, WMIN, UMAX, VMAX, WMAX, USTP, VSTP, WSTP,
12 IGRT, IHID)
13
15 #include <ncarg/ncargC.h>
16
17 void c_tdgrds(float umin, float vmin, float wmin, float umax, float
18 vmax, float wmax, float ustp, float vstp, float wstp, int igrt, int
19 ihid)
20
22 The arguments of TDGRDS are as follows:
23
24 UMIN, VMIN, WMIN, UMAX, VMAX, WMAX
25 (input expressions of type REAL) - coordinate values defining
26 the box in 3-space. The names of these should make it clear
27 what they are.
28
29 USTP, VSTP, and WSTP
30 (input expressions of type REAL) - specify step sizes between
31 ticks or grid lines in the U direction, the V direction, and
32 the W direction, respectively. If one of these values is less
33 than or equal to zero, the ticks or grid lines in the
34 associated direction are omitted.
35
36 IGRT (an input expression of type INTEGER) - of the form
37 10*IGRN+IGRF, where IGRN is a value specifying what to draw on
38 the near sides of the box and IGRF is a value specifying what
39 to draw on the far sides of the box, where "near" and "far" are
40 as defined by the current line of sight. Each of IGRN and IGRF
41 can have one of the values 0 (draw nothing), 1 (draw just a
42 perimeter), 2 (draw a perimeter with inward-pointing ticks), or
43 3 (draw a perimeter with a grid). For example, to draw grids on
44 the far side of the box and just perimeters on the near sides
45 of the box, use IGRT = 13.
46
47 IHID (an input expression of type INTEGER) - set to 0 to draw only
48 those sides of the box that cannot be hidden by something
49 inside the box or to 1 to draw only those sides of the box that
50 can be hidden by something inside the box. Standard operating
51 procedure is to call TDGRDS before drawing surfaces inside a
52 box, with IHID set to 1, and then call it again after drawing
53 surfaces inside a box, with IHID set to 0.
54
56 The C-binding argument descriptions are the same as the FORTRAN
57 argument descriptions.
58
60 To use TDGRDS or c_tdgrds, load the NCAR Graphics libraries ncarg,
61 ncarg_gks, and ncarg_c, preferably in that order.
62
64 Online: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrid, tdgtrs, tdinit,
65 tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack,
66 tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr,
67 tdsort, tdstri, tdstrs
68
70 Copyright (C) 1987-2007
71 University Corporation for Atmospheric Research
72
73 This documentation is free software; you can redistribute it and/or
74 modify it under the terms of the GNU General Public License as
75 published by the Free Software Foundation; either version 2 of the
76 License, or (at your option) any later version.
77
78 This software is distributed in the hope that it will be useful, but
79 WITHOUT ANY WARRANTY; without even the implied warranty of
80 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
81 General Public License for more details.
82
83 You should have received a copy of the GNU General Public License along
84 with this software; if not, write to the Free Software Foundation,
85 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
86
87
88
89UNIX July 1997 TDGRDS(3NCARG)