1GLGETCLIPPLANE(3G)                                          GLGETCLIPPLANE(3G)
2
3
4

NAME

6       glGetClipPlane  -  return  the  coefficients  of the specified clipping
7       plane
8
9

C SPECIFICATION

11       void glGetClipPlane( GLenum plane,
12                            GLdouble *equation )
13
14

PARAMETERS

16       plane     Specifies a clipping plane.  The number  of  clipping  planes
17                 depends  on  the  implementation,  but  at least six clipping
18                 planes are supported.  They are identified by symbolic  names
19                 of the form GL_CLIP_PLANEi where 0 ≤ i < GL_MAX_CLIP_PLANES.
20
21       equation  Returns  four  double-precision  values  that are the coeffi‐
22                 cients of the plane equation of  plane  in  eye  coordinates.
23                 The initial value is (0, 0, 0, 0).
24

DESCRIPTION

26       glGetClipPlane  returns  in equation the four coefficients of the plane
27       equation for plane.
28

NOTES

30       It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.
31
32       If an error is generated, no change is made to the  contents  of  equa‐
33       tion.
34

ERRORS

36       GL_INVALID_ENUM is generated if plane is not an accepted value.
37
38       GL_INVALID_OPERATION is generated if glGetClipPlane is executed between
39       the execution of glBegin and the corresponding execution of glEnd.
40

SEE ALSO

42       glClipPlane(3G)
43
44
45
46                                                            GLGETCLIPPLANE(3G)
Impressum