NAME

gluPartialDisk - draw an arc of a disk

C SPECIFICATION

void gglluuPPaarrttiiaallDDiisskk( GLUquadric* _q_u_a_d,
                     GLdouble _i_n_n_e_r,
                     GLdouble _o_u_t_e_r,
                     GLint _s_l_i_c_e_s,
                     GLint _l_o_o_p_s,
                     GLdouble _s_t_a_r_t,
                     GLdouble _s_w_e_e_p )

delim $$

PARAMETERS

_q_u_a_d
Specifies a quadrics object (created with gglluuNNeewwQQuuaaddrriicc).
_i_n_n_e_r
Specifies the inner radius of the partial disk (can be 0).
_o_u_t_e_r
Specifies the outer radius of the partial disk.
_s_l_i_c_e_s
Specifies the number of subdivisions around the _z axis.
_l_o_o_p_s
Specifies the number of concentric rings about the origin into which the partial disk is subdivided.
_s_t_a_r_t
Specifies the starting angle, in degrees, of the disk portion.
_s_w_e_e_p
Specifies the sweep angle, in degrees, of the disk portion.

DESCRIPTION

gglluuPPaarrttiiaallDDiisskk renders a partial disk on the $ z ~=~ 0 $ plane. A partial disk is similar to a full disk, except that only the subset of the disk from _s_t_a_r_t through _s_t_a_r_t + _s_w_e_e_p is included (where 0 degrees is along the +_y_a_x_i_s_, _9_0 _d_e_g_r_e_e_s _a_l_o_n_g _t_h_e _+_x _a_x_i_s_, _1_8_0 _d_e_g_r_e_e_s _a_l_o_n_g _t_h_e _-_y _a_x_i_s_, _a_n_d _2_7_0 _d_e_g_r_e_e_s _a_l_o_n_g _t_h_e _-_x _a_x_i_s_)_. _<_p_> _T_h_e _p_a_r_t_i_a_l _d_i_s_k _h_a_s _a _r_a_d_i_u_s _o_f _o_u_t_e_r_, _a_n_d _c_o_n_t_a_i_n_s _a _c_o_n_c_e_n_t_r_i_c _c_i_r_c_u_l_a_r _h_o_l_e _w_i_t_h _a _r_a_d_i_u_s _o_f _i_n_n_e_r_. _I_f _i_n_n_e_r _i_s _0_, _t_h_e_n _n_o _h_o_l_e _i_s _g_e_n_e_r_a_t_e_d_. _T_h_e _p_a_r_t_i_a_l _d_i_s_k _i_s _s_u_b_d_i_v_i_d_e_d _a_r_o_u_n_d _t_h_e _z _a_x_i_s _i_n_t_o _s_l_i_c_e_s _(_l_i_k_e _p_i_z_z_a _s_l_i_c_e_s_)_, _a_n_d _a_l_s_o _a_b_o_u_t _t_h_e _z _a_x_i_s _i_n_t_o _r_i_n_g_s _(_a_s _s_p_e_c_i_f_i_e_d _b_y _s_l_i_c_e_s _a_n_d _l_o_o_p_s_, _r_e_s_p_e_c_t_i_v_e_l_y_)_. _<_p_> _W_i_t_h _r_e_s_p_e_c_t _t_o _o_r_i_e_n_t_a_t_i_o_n_, _t_h_e _+_z _s_i_d_e _o_f _t_h_e _p_a_r_t_i_a_l _d_i_s_k _i_s _c_o_n_s_i_d_e_r_e_d _t_o _b_e _o_u_t_s_i_d_e _(_s_e_e gglluuQQuuaaddrriiccOOrriieennttaattiioonn_)_. _T_h_i_s _m_e_a_n_s _t_h_a_t _i_f _t_h_e _o_r_i_e_n_t_a_t_i_o_n _i_s _s_e_t _t_o GGLLUU__OOUUTTSSIIDDEE_, _t_h_e_n _a_n_y _n_o_r_m_a_l_s _g_e_n_e_r_a_t_e_d _p_o_i_n_t _a_l_o_n_g _t_h_e _+_z _a_x_i_s_. _O_t_h_e_r_w_i_s_e_, _t_h_e_y _p_o_i_n_t _a_l_o_n_g _t_h_e _-_z _a_x_i_s_. _<_p_> _I_f _t_e_x_t_u_r_i_n_g _i_s _t_u_r_n_e_d _o_n _(_w_i_t_h gglluuQQuuaaddrriiccTTeexxttuurree_)_, _t_e_x_t_u_r_e _c_o_o_r_d_i_n_a_t_e_s _a_r_e _g_e_n_e_r_a_t_e_d _l_i_n_e_a_r_l_y _s_u_c_h _t_h_a_t _w_h_e_r_e _$ _r _~_=_~ _"_o_u_t_e_r_" _$_, _t_h_e _v_a_l_u_e _a_t _(_r_, _0_, _0_) _i_s _(_1_._0_, _0_._5_)_, _a_t _(_0_, _r_, _0_) _i_t _i_s _(_0_._5_, _1_._0_)_, _a_t _(_-_r_, _0_, _0_) _i_t _i_s _(_0_._0_, _0_._5_)_, _a_n_d _a_t _(_0_, _-_r_, _0_) _i_t _i_s _(_0_._5_, _0_._0_)_. _<_h_3 _i_d_=_"_S_E_E _A_L_S_O_"_> _S_E_E _A_L_S_O _<_/_h_3_> gglluuCCyylliinnddeerr((33GG))_, gglluuDDiisskk((33GG))_, gglluuNNeewwQQuuaaddrriicc((33GG))_, gglluuQQuuaaddrriiccOOrriieennttaattiioonn((33GG))_, gglluuQQuuaaddrriiccTTeexxttuurree((33GG))_, gglluuSSpphheerree((33GG)) _<_p_> _<_/_b_o_d_y_> _<_/_h_t_m_l_>