.\" @(#)PEXSetModelClipVolume2D.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetModelClipVolume2D 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetModelClipVolume2D - Set Model Clip Volume 2D .SH SYNTAX .HP void PEXSetModelClipVolume2D\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, .br PEXOCRequestType \fIreq_type\fP\^, int \fIop\fP\^, unsigned int \fIcount\fP\^, PEXHalfSpace2D *\fIhalf_spaces\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIop\fP 1i The model clipping volume operator ( .B PEXModelClipReplace or .B PEXModelClipIntersection ). .IP \fIcount\fP 1i The number of halfspaces. .IP \fIhalf_spaces\fP 1i An array of points and normal vectors defining the model clipping volume. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetModelClipVolume2D .LP This function creates an output primitive attribute which sets the model clip volume attribute. This output command is similar to .BR PEXSetModelClipVolume (3) except that the half-spaces are specified in 2D coordinates where the z-component of each point and normal vector assumed to be zero. .SH DATA STRUCTURES .LP .nf typedef struct { PEXCoord2D point; PEXVector2D vector; .br } PEXHalfSpace2D; .fi .sp .5 See also .B PEXlib.h. .SH ERRORS .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid. .SH SEE ALSO .LP .nf .BR PEXSetModelClipFlag (3) .BR PEXSetModelClipVolume (3) .BR PEXRestoreModelClipVolume (3) .BR PEXGetImpDepConstants (3) .fi