---
name: "glGetClipPlane"
section: "3x"
platform: "linux"
package: "xlibmesa-gl-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/glGetClipPlane"
---

# glGetClipPlane(3x)

return the coefficients of the specified clipping plane

## NAME

**glGetClipPlane** - return the coefficients of the specified clipping plane

## C SPECIFICATION

void **glGetClipPlane**( GLenum *plane*,

```
	GLdouble *equation )
```

delim $$

## 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 **GL\_CLIP\_PLANE**$i$ where 0 ≤ $ i $ \< **GL\_MAX\_CLIP\_PLANES**.

- *equation*

  Returns four double-precision values that are the coefficients 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 **GL\_CLIP\_PLANE**$i$ = **GL\_CLIP\_PLANE0** + $i$.

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

## ERRORS

**GL\_INVALID\_ENUM** is generated if *plane* is not an accepted value.

**GL\_INVALID\_OPERATION** is generated if **glGetClipPlane** is executed between the execution of **glBegin** and the corresponding execution of **glEnd**.

## SEE ALSO

**glClipPlane(3G)**
