gluPartialDisk

draw an arc of a disk

Signature

gluPartialDisk( GLUquadric* ( quad ) , GLdouble ( inner ) , GLdouble ( outer ) , GLint ( slices ) , GLint ( loops ) , GLdouble ( start ) , GLdouble ( sweep ) )-> void
gluPartialDisk( quad , inner , outer , slices , loops , start , sweep )
gluPartialDisk( POINTER(GLUquadric)(quad), GLdouble(inner), GLdouble(outer), GLint(slices), GLint(loops), GLdouble(start), GLdouble(sweep) ) -> None

Parameters

VariablesDescription
quad
Specifies a quadrics object (created with gluNewQuadric ).
inner
Specifies the inner radius of the partial disk (can be 0).
outer
Specifies the outer radius of the partial disk.
slices
Specifies the number of subdivisions around the z axis.
loops
Specifies the number of concentric rings about the origin into which the partial disk is subdivided.
start
Specifies the starting angle, in degrees, of the disk portion.
sweep
Specifies the sweep angle, in degrees, of the disk portion.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gluPartialDisk
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 218
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 172
{LGPL} PyMT pymt/graphx/draw.py Lines: 21, 568, 593