MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLGETCLIPLANE(3G)                                          GLGETCLIPLANE(3G)



NAME
       glGetClipPlane  -  return  the  coefficients  of the specified clipping
       plane


C SPECIFICATION
       void glGetClipPlane( GLenum plane,
                            GLdouble *equation )


PARAMETERS
       plane     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   GLCLIPLANEi   where   0   <=    i    <
                 GLMAXCLIPLANES.

       equation  Returns four double-precision values  that  are  the  coeffi-
                 cients  of  the  plane  equation of plane in eye coordinates.
                 The initial value is (0, 0, 0, 0).

DESCRIPTION
       glGetClipPlane returns in equation the four coefficients of  the  plane
       equation for plane.

NOTES
       It is always the case that GLCLIPLANEi = GLCLIPLANE00 ] i.

       If  an  error  is generated, no change is made to the contents of equa-
       tion.

ERORS
       GLINVALIDENUM is generated if plane is not an accepted value.

       GLINVALIDOPERATION is generated if glGetClipPlane is executed between
       the execution of glBegin and the corresponding execution of glEnd.

SEE ALSO
       glClipPlane



                                                            GLGETCLIPLANE(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™