SET EDGETYPE(3P) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
SET EDGETYPE − create a structure element to set the current edgetype attribute
SYNOPSIS
C Syntax
void
pset_edgetype ( edgetype )
Pintedgetype;edgetype
Required PHIGS Operating States
(PHOP, ∗, STOP, ∗)
DESCRIPTION
Purpose
SET EDGETYPE creates a structure element structure containing a value for the current edgetype attribute.
When the current edgetype Aspect Source Flag (ASF) is set to INDIVIDUAL, this attribute defines the edgetype to be applied to the following output primitives:
• FILL AREA SET
• FILL AREA SET 3
• FILL AREA SET 3 WITH DATA
• SET OF FILL AREA SET 3 WITH DATA
• NON-UNIFORM B-SPLINE SURFACE
• QUADRILATERAL MESH 3 WITH DATA
• TRIANGLE STRIP 3 WITH DATA
C Input Parameter
edgetype
An integer value specifying one of the following edge types:
1PLINE_SOLIDSolid
2PLINE_DASHDashed
3PLINE_DOTDotted
4PLINE_DOT_DASHDot-dashed
Support for edgetypes is workstation dependent.
Execution
If the current edit mode is INSERT, a SET EDGETYPE element is inserted into the currently open structure after the element pointed to by the current element pointer. If the edit mode is REPLACE, then the new SET EDGETYPE element replaces the element pointed to by the element pointer. In either case, the element pointer is updated to point to the new element.
When the SET EDGETYPE element is traversed, the current edgetype entry in the PHIGS traversal state list is set to edgetype. When the edge flag attribute is set to ON and the current edgetype ASF is set to INDIVIDUAL, the edges of the fill area set output primitives that follow in the structure network are drawn with the edgetype specified.
If the edge flag is set to OFF, then these primitives are drawn without edges, and only the interior fill is displayed. If the edge flag is OFF and the interior style is Empty, then the primitive is invisible.
When the edge flag is ON and the current edgetype ASF is set to BUNDLED, the edgetype is taken from the workstation’s representation indicated by the current edge index. In this case, the edgetype set with SET EDGETYPE has no effect.
If the edgetype specified is not available on the workstation to which the structure is posted, then edgetype 1 (Solid) is used.
ERRORS
005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)
SEE ALSO
SET EDGE FLAG (3P)
SET INDIVIDUAL ASF (3P)
SET EDGE REPRESENTATION (3P)
INQUIRE EDGE REPRESENTATION (3P)
INQUIRE EDGE FACILITIES (3P)
FILL AREA SET (3P)
FILL AREA SET 3 (3P)
FILL AREA SET 3 WITH DATA (3P+)
SET OF FILL AREA SET 3 WITH DATA (3P+)
NON-UNIFORM B-SPLINE SURFACE (3P+)
QUADRILATERAL MESH 3 WITH DATA (3P+)
TRIANGLE STRIP 3 WITH DATA (3P+)
September 02, 1992