~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to doc/docbook/src/plpoly3.html

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2
2
<HTML
3
3
><HEAD
4
4
><TITLE
6
6
    </TITLE
7
7
><META
8
8
NAME="GENERATOR"
9
 
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
 
9
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
10
10
REL="HOME"
11
11
TITLE="The PLplot Plotting Library"
12
12
HREF="index.html"><LINK
62
62
WIDTH="80%"
63
63
ALIGN="center"
64
64
VALIGN="bottom"
65
 
>Chapter 16. The Common API for PLplot</TD
 
65
>Chapter 17. The Common API for PLplot</TD
66
66
><TD
67
67
WIDTH="10%"
68
68
ALIGN="right"
94
94
><P
95
95
></P
96
96
><A
97
 
NAME="AEN6341"
 
97
NAME="AEN7193"
98
98
></A
99
99
><TABLE
100
100
CLASS="funcprototype"
113
113
>
114
114
    </P
115
115
><P
116
 
>      Draws a polygon in 3 space defined by <VAR
 
116
>      Draws a polygon in 3 space defined by <TT
117
117
CLASS="literal"
118
 
><VAR
 
118
><CODE
119
119
CLASS="parameter"
120
 
>n</VAR
121
 
></VAR
 
120
>n</CODE
 
121
></TT
122
122
>
123
123
      points in
124
 
      <VAR
 
124
      <TT
125
125
CLASS="literal"
126
 
><VAR
 
126
><CODE
127
127
CLASS="parameter"
128
 
>x</VAR
129
 
></VAR
 
128
>x</CODE
 
129
></TT
130
130
>,
131
 
      <VAR
 
131
      <TT
132
132
CLASS="literal"
133
 
><VAR
 
133
><CODE
134
134
CLASS="parameter"
135
 
>y</VAR
136
 
></VAR
 
135
>y</CODE
 
136
></TT
137
137
>, and
138
 
      <VAR
 
138
      <TT
139
139
CLASS="literal"
140
 
><VAR
 
140
><CODE
141
141
CLASS="parameter"
142
 
>z</VAR
143
 
></VAR
 
142
>z</CODE
 
143
></TT
144
144
>.
145
145
      Setup like <A
146
146
HREF="plline3.html"
157
157
>
158
158
      attempts to determine if the polygon is viewable depending on the
159
159
      order of the points within the arrays and the value of
160
 
      <VAR
 
160
      <TT
161
161
CLASS="literal"
162
 
><VAR
 
162
><CODE
163
163
CLASS="parameter"
164
 
>ifcc</VAR
165
 
></VAR
 
164
>ifcc</CODE
 
165
></TT
166
166
>.  If the back of
167
167
      polygon is facing the viewer, then it isn't drawn.  If this isn't what
168
168
      you want, then use <A
216
216
><TD
217
217
><DL
218
218
><DT
219
 
><VAR
 
219
><CODE
220
220
CLASS="parameter"
221
 
>n</VAR
 
221
>n</CODE
222
222
>
223
 
          (<VAR
 
223
          (<TT
224
224
CLASS="literal"
225
 
>PLINT</VAR
 
225
>PLINT</TT
226
226
>, input)</DT
227
227
><DD
228
228
><P
230
230
          </P
231
231
></DD
232
232
><DT
233
 
><VAR
 
233
><CODE
234
234
CLASS="parameter"
235
 
>x</VAR
 
235
>x</CODE
236
236
>
237
 
          (<VAR
 
237
          (<TT
238
238
CLASS="literal"
239
 
>PLFLT *</VAR
 
239
>PLFLT *</TT
240
240
>, input)</DT
241
241
><DD
242
242
><P
244
244
          </P
245
245
></DD
246
246
><DT
247
 
><VAR
 
247
><CODE
248
248
CLASS="parameter"
249
 
>y</VAR
 
249
>y</CODE
250
250
>
251
 
          (<VAR
 
251
          (<TT
252
252
CLASS="literal"
253
 
>PLFLT *</VAR
 
253
>PLFLT *</TT
254
254
>, input)</DT
255
255
><DD
256
256
><P
258
258
          </P
259
259
></DD
260
260
><DT
261
 
><VAR
 
261
><CODE
262
262
CLASS="parameter"
263
 
>z</VAR
 
263
>z</CODE
264
264
>
265
 
          (<VAR
 
265
          (<TT
266
266
CLASS="literal"
267
 
>PLFLT *</VAR
 
267
>PLFLT *</TT
268
268
>, input)</DT
269
269
><DD
270
270
><P
272
272
          </P
273
273
></DD
274
274
><DT
275
 
><VAR
 
275
><CODE
276
276
CLASS="parameter"
277
 
>draw</VAR
 
277
>draw</CODE
278
278
>
279
 
          (<VAR
 
279
          (<TT
280
280
CLASS="literal"
281
 
>PLINT *</VAR
 
281
>PLBOOL *</TT
282
282
>, input)</DT
283
283
><DD
284
284
><P
285
285
>            Pointer to array which controls drawing the segments of the
286
 
            polygon.  If <VAR
 
286
            polygon.  If <TT
287
287
CLASS="literal"
288
 
><VAR
 
288
><CODE
289
289
CLASS="parameter"
290
 
>draw[i]</VAR
291
 
></VAR
 
290
>draw[i]</CODE
 
291
></TT
292
292
> is true,
293
293
            then the polygon segment from index
294
 
            <VAR
 
294
            <TT
295
295
CLASS="literal"
296
 
><VAR
 
296
><CODE
297
297
CLASS="parameter"
298
 
>[i]</VAR
299
 
></VAR
 
298
>[i]</CODE
 
299
></TT
300
300
> to
301
 
            <VAR
 
301
            <TT
302
302
CLASS="literal"
303
 
><VAR
 
303
><CODE
304
304
CLASS="parameter"
305
 
>[i+1]</VAR
306
 
></VAR
 
305
>[i+1]</CODE
 
306
></TT
307
307
> is drawn, otherwise, not.
308
308
          </P
309
309
></DD
310
310
><DT
311
 
><VAR
 
311
><CODE
312
312
CLASS="parameter"
313
 
>ifcc</VAR
 
313
>ifcc</CODE
314
314
>
315
 
          (<VAR
 
315
          (<TT
316
316
CLASS="literal"
317
 
>PLINT</VAR
 
317
>PLBOOL</TT
318
318
>, input)</DT
319
319
><DD
320
320
><P
321
 
>      If <VAR
 
321
>      If <TT
322
322
CLASS="literal"
323
 
><VAR
 
323
><CODE
324
324
CLASS="parameter"
325
 
>ifcc</VAR
326
 
>=1</VAR
327
 
>
 
325
>ifcc</CODE
 
326
></TT
 
327
> is true
328
328
      the directionality of the polygon is determined by assuming the points
329
 
      are laid out in a counter-clockwise order.
330
 
      If <VAR
331
 
CLASS="literal"
332
 
><VAR
333
 
CLASS="parameter"
334
 
>ifcc</VAR
335
 
>=0</VAR
336
 
>
 
329
      are laid out in a counter-clockwise order.  Otherwise,
337
330
      the directionality of the polygon is determined by assuming the points
338
331
      are laid out in a clockwise order.
339
332
    </P