NAME

glGetClipPlane - return the coefficients of the specified clipping plane

C SPECIFICATION

void ggllGGeettCClliippPPllaannee( GLenum _p_l_a_n_e,
                     GLdouble _*_e_q_u_a_t_i_o_n )

delim $$

PARAMETERS

_p_l_a_n_e
Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GGLL__CCLLIIPP__PPLLAANNEE$i$ where 0 <= $ i $ < GGLL__MMAAXX__CCLLIIPP__PPLLAANNEESS.
_e_q_u_a_t_i_o_n
Returns four double-precision values that are the coefficients of the plane equation of _p_l_a_n_e in eye coordinates. The initial value is (0, 0, 0, 0).

DESCRIPTION

ggllGGeettCClliippPPllaannee returns in _e_q_u_a_t_i_o_n the four coefficients of the plane equation for _p_l_a_n_e.

NOTES

It is always the case that GGLL__CCLLIIPP__PPLLAANNEE$i$ = GGLL__CCLLIIPP__PPLLAANNEE00 + $i$.

If an error is generated, no change is made to the contents of _e_q_u_a_t_i_o_n.

ERRORS

GGLL__IINNVVAALLIIDD__EENNUUMM is generated if _p_l_a_n_e is not an accepted value.

GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllGGeettCClliippPPllaannee is executed between the execution of ggllBBeeggiinn and the corresponding execution of ggllEEnndd.

SEE ALSO

ggllCClliippPPllaannee((33GG))