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

NAME

6       gluPartialDisk - draw an arc of a disk
7
8

C SPECIFICATION

10       void gluPartialDisk( GLUquadric* quad,
11                            GLdouble inner,
12                            GLdouble outer,
13                            GLint slices,
14                            GLint loops,
15                            GLdouble start,
16                            GLdouble sweep )
17
18

PARAMETERS

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

DESCRIPTION

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

SEE ALSO

59       gluCylinder(3G),            gluDisk(3G),             gluNewQuadric(3G),
60       gluQuadricOrientation(3G), gluQuadricTexture(3G), gluSphere(3G)
61
62
63
64
65                                                            GLUPARTIALDISK(3G)
Impressum