How to create a cross-section of a model?

Hi folks,

Does this involve a clipping plane?
If so, is there an example somewhere?

Thanks.

glClipPlane
The glClipPlane function specifies a plane against which all geometry is clipped.

void glClipPlane(
GLenum plane,
const GLdouble *equation
);
Parameters
plane
The clipping plane that is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES – 1, are accepted.
equation
The address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.