[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE MODELING CLIPPING FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Modeling Clipping Facilities
to inquire the number and list of
modeling clipping operators, and the number of distinct planes
in the modeling clipping volume.
Although this inquiry returns two operations
(REPLACE and INTERSECT) and six as the
number of distinct planes in the modeling clipping volume,
support differs by workstation.
Therefore, use the graPHIGS API Inquire Workstation Description
(GPQWDT) to inquire these values for a
specific workstation.
If the inquired information is available, then the graPHIGS API
sets the error indicator to zero and returns the values in
the output parameters.
If the inquired information is unavailable, then the values
returned in the output parameters are invalid
and
the graPHIGS API sets the error indicator to the following
error:
- 2
- Function Requires State (PHOP,*,*,*)
Language Bindings
C
pinq_model_clip_facs
(num_elems_appl_list, start_ind,
err_ind, num_planes, ops, num_elems_impl_list) |
Pint num_elems_appl_listNumber of elements in the application list (>=0).
Pint start_indStarting index (>=0).
Pint *err_indError indicator.
Pint *num_planesNumber of distinct half planes in the modeling
clipping volume.
Pint_list *opsList of modeling clipping operators
(1=REPLACE, 2=INTERSECT).
Pint *num_elems_impl_listNumber of elements in the implementation list.
FORTRAN
PQMCLF
(n, errind,
ndpmcv, ol, mclpop) |
integer nElement list requested (>=0).
integer errindError indicator.
integer ndpmcvNumber of distinct half planes in the modeling
clipping volume.
integer olNumber of modeling clipping operators
integer mclpopnth
element in the list
of modeling clipping operators.
(1=REPLACE, 2=INTERSECT).
Errors
None
Related Subroutines
Set Modeling Clipping Indicator
Set Modeling Clipping Volume
Set Modeling Clipping Volume 3
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]