1GLGETCLIPPLANE(3G) OpenGL Manual GLGETCLIPPLANE(3G)
2
3
4
6 glGetClipPlane - return the coefficients of the specified clipping
7 plane
8
10 void glGetClipPlane(GLenum plane, GLdouble * equation);
11
13 plane
14 Specifies a clipping plane. The number of clipping planes depends
15 on the implementation, but at least six clipping planes are
16 supported. They are identified by symbolic names of the form
17 GL_CLIP_PLANEi where i ranges from 0 to the value of
18 GL_MAX_CLIP_PLANES - 1.
19
20 equation
21 Returns four double-precision values that are the coefficients of
22 the plane equation of plane in eye coordinates. The initial value
23 is (0, 0, 0, 0).
24
26 glGetClipPlane returns in equation the four coefficients of the plane
27 equation for plane.
28
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
33 equation.
34
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
42 glClipPlane()
43
45 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
46 under the SGI Free Software B License. For details, see
47 http://oss.sgi.com/projects/FreeB/.
48
50 opengl.org
51
52
53
54opengl.org 06/10/2014 GLGETCLIPPLANE(3G)