1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
.\"##
.\" $XConsortium: p167,v 5.1 91/02/16 09:39:52 rws Exp $
.\"##
.\"##
$XMCOPY
.\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc.
.\"##
.\"## All Rights Reserved
.\"##
.\"## Permission to use, copy, modify, and distribute this software and its
.\"## documentation for any purpose and without fee is hereby granted,
.\"## provided that the above copyright notice appear in all copies and that
.\"## both that copyright notice and this permission notice appear in
.\"## supporting documentation, and that the name of Sun Microsystems,
.\"## not be used in advertising or publicity
.\"## pertaining to distribution of the software without specific, written
.\"## prior permission.
.\"##
.\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
.\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\"## PERFORMANCE OF THIS SOFTWARE.
.TH "INQUIRE MODELLING CLIPPING FACILITIES" 3P "29 February 1991"
.SH NAME
INQUIRE MODELLING CLIPPING FACILITIES \- inquire number of modelling clipping planes and operators available
.IX "Modelling Clipping" "INQUIRE MODELLING CLIPPING FACILITIES"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pinq_model_clip_facs ( length, start, error_ind, num, ops, total_length )
Pint length; \fIlength of application list\fP
Pint start; \fIstarting position\fP
Pint *error_ind; \fIOUT error indicator\fP
Pint *num; \fIOUT number of distinct planes in modelling clipping volume\fP
Pint_list *ops; \fIOUT list of operators\fP
Pint *total_length; \fIOUT length of list in PHIGS\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, *, *)
.SH DESCRIPTION
.SS Purpose
\s-2INQUIRE MODELLING CLIPPING FACILITIES\s+2 obtains the number
of planes and available operators
that may be used to determine the modelling clipping volume in the
\s-2PHIGS\s+2
implementation.
.SS C Input Parameters
.IP \fIlength\fP
Number of items for which the application has allocated memory
in the output parameter \fIops\fP.
0 can be specified, in order to get the \fItotal length\fP of the list
of operators.
.IP \fIstart\fP
Starting position in the list of operators at which to begin the inquiry.
.SS C Output Parameters
.IP \fIerror_ind\fP
A pointer to the location to store the error number of any error
detected by this function.
.IP \fInum\fP
A pointer to a location in which the system return the number of distinct
planes (half-spaces) that can be used
to determine the modelling clipping volume.
.IP \fIops\fP
A pointer to a \fIPint_list\fP
in which the system returns the portion of the
list of supported modelling clipping operators,
starting at the entry specified with \fIstart\fP.
.IP
Pint_list is defined in phigs.h as follows:
.nf
.ta .5i +\w'Pint 'u +\w'num_ints; 'u
.sp .3
typedef struct {
.sp .2
Pint num_ints; /* number of Pints in list */
Pint *ints; /* list of integers */
.fi
.sp .2
} Pint_list;
.sp .5
The pointer \fIops\fR\(->\fIints\fR must be initialized to an array of
\fIlength\fP \fIPint\fP elements.
.IP \fItotal_length\fP
A pointer to an integer in which to return the \fItotal length\fP of
the list of supported operators.
This is the value required for \fIlength\fP if all the items in the
list are to be returned.
.SH ERRORS
.IP 002
Ignoring function, function requires state
(\s-2PHOP\s+2, \s-2*\s+2, \s-2*\s+2, \s-2*\s+2)
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "PHIGS DESCRIPTION TABLE (7P)"
.SM "SET MODELLING CLIPPING INDICATOR (3P)"
.SM "SET MODELLING CLIPPING VOLUME (3P)"
|