1GLUPARTIALDISK(3G)               OpenGL Manual              GLUPARTIALDISK(3G)
2
3
4

NAME

6       gluPartialDisk - draw an arc of a disk
7

C SPECIFICATION

9       void gluPartialDisk(GLUquadric* quad, GLdouble inner, GLdouble outer,
10                           GLint slices, GLint loops, GLdouble start,
11                           GLdouble sweep);
12

PARAMETERS

14       quad
15           Specifies a quadrics object (created with gluNewQuadric()).
16
17       inner
18           Specifies the inner radius of the partial disk (can be 0).
19
20       outer
21           Specifies the outer radius of the partial disk.
22
23       slices
24           Specifies the number of subdivisions around the z axis.
25
26       loops
27           Specifies the number of concentric rings about the origin into
28           which the partial disk is subdivided.
29
30       start
31           Specifies the starting angle, in degrees, of the disk portion.
32
33       sweep
34           Specifies the sweep angle, in degrees, of the disk portion.
35

DESCRIPTION

37       gluPartialDisk renders a partial disk on the z = 0 plane. A partial
38       disk is similar to a full disk, except that only the subset of the disk
39       from start through start + sweep is included (where 0 degrees is along
40       the +\f2y\f axis, 90 degrees along the +x axis, 180 degrees along the
41       \-y axis, and 270 degrees along the \-x axis).
42
43       The partial disk has a radius of outer and contains a concentric
44       circular hole with a radius of inner. If inner is 0, then no hole is
45       generated. The partial disk is subdivided around the z axis into slices
46       (like pizza slices) and also about the z axis into rings (as specified
47       by slices and loops, respectively).
48
49       With respect to orientation, the +z side of the partial disk is
50       considered to be outside (see gluQuadricOrientation()). This means that
51       if the orientation is set to GLU_OUTSIDE, then any normals generated
52       point along the +z axis. Otherwise, they point along the \-z axis.
53
54       If texturing is turned on (with gluQuadricTexture()), texture
55       coordinates are generated linearly such that where r = outer, the value
56       at (r, 0, 0) is (1.0, 0.5), at (0, r, 0) it is (0.5, 1.0), at (\-r, 0,
57       0) it is (0.0, 0.5), and at (0, \-r, 0) it is (0.5, 0.0).
58

SEE ALSO

60       gluCylinder(), gluDisk(), gluNewQuadric(), gluQuadricOrientation(),
61       gluQuadricTexture(), gluSphere()
62
64       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
65       under the SGI Free Software B License. For details, see
66       http://oss.sgi.com/projects/FreeB/.
67

AUTHORS

69       opengl.org
70
71
72
73opengl.org                        06/10/2014                GLUPARTIALDISK(3G)
Impressum