| GPPSC (type, data) |
Purpose
Use GPPSC to insert a Parametric Surface Characteristics structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Parametric Surface Characteristics structure element depending upon the current edit mode.
During structure traversal, the graPHIGS API uses the type and data parameters to update the Parametric Surface Characteristic entry in the graPHIGS API traversal state list. The graPHIGS API uses this new state to render all subsequent parametric surface primitives until this traversal state list entry is changed.
The Parametric Surface Characteristic traversal state defines the type of line geometry that is generated in the interior of a parametric surface. When rendering a line geometry, all polyline attributes are applied to the line representation.
When rendering a parametric surface, edges (which are controlled by edge attributes), have priority over line geometries, which have priority over rendering surface interiors (which are controlled by interior attributes).
The traversal default for parametric surface characteristics is 1=NONE If a workstation encounters an unsupported type, the parametric surface defaults to 1=NONE
GPPSC is identified as GSE 1008.
Note:
Not all GSEs are supported on all workstations. Use the Inquire List of Generalized Structure Elements (GPQGSE) subroutine determine the GSEs which are supported by an open workstation. See also the workstation descriptors in The graPHIGS Programming Interface: Technical Reference
Parameters
---------------------
| Scope of |
0 | Isoparametric | Fullword integer
| Numbers |
|-------------------|
| Number of |
4 | Isoparametrics |
| in the U | Fullword integer >=0
| direction |
|-------------------|
| Number of |
8 | Isoparametrics |
| in the V | Fullword integer >=0
| direction |
---------------------
Note: The graPHIGS API only displays isoparametric curves in the active region of a trimmed surface. This means that the trimming curves clip the isoparametric curves.
Error Codes
Related Subroutines
RCP code
201328907 (X'0C00090B')