Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psedi(3P) — PHIGS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET EDGE INDEX(3P)  —  SUNPHIGS LIBRARY

NAME

SET EDGE INDEX − create a structure element containing an edge representation index attribute

SYNOPSIS

C Syntax

void
psetedgeind ( index )
Pintindex;edge index

FORTRAN Syntax

SUBROUTINE psedi ( EDI )
INTEGEREDIedge index

Required PHIGS Operating States

(PHOP, ∗, STOP, ∗)

DESCRIPTION

Purpose

SET EDGE INDEX creates a structure element containing an edge index number, which selects an entry from the workstation’s edge bundle table.  This attribute applies to the output primitives

•  FILL AREA SET
•  FILL AREA SET 3.

If the current edit mode is INSERT, a SET EDGE INDEX element is inserted into the currently open structure after the element pointed to by the current element pointer. If the edit mode is REPLACE, the new SET EDGE INDEX element replaces the element pointed to by the element pointer.  In either case, the element pointer is updated to point to the new element. 

C Input Parameter

indexA edge index for a edge representation on the workstation. 

FORTRAN Input Parameter

EDIA edge index for a edge representation on the workstation. 

Execution

When the SET EDGE INDEX element is traversed, the ‘current edge index’ value is set to the edge index, which specifies an entry from the workstation’s edge bundle table.  The default edge index is 1, and if the edge index specified is not available on the workstation, 1 will be used. 

An edge representation contains values for the following attributes:

•  edge flag
•  edgetype
•  edgewidth scale factor
•  edge colour index

FILL AREA SET, and FILL AREA SET 3 output primitives which follow in the structure network will use the values from the specified representation for those edge attributes whose Aspect Source Flag (ASF) is set to BUNDLED.  When the ASFs are INDIVIDUAL , the attributes come from the appropriate SET attribute elements. 

Edge representations are defined with SET EDGE REPRESENTATION. 

ERRORS

005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)

100Ignoring function, the bundle index value is less than one

SEE ALSO

SET EDGE FLAG (3P)
SET INDIVIDUAL ASF (3P)
SET EDGE REPRESENTATION (3P)
SET EXTENDED EDGE REPRESENTATION (3P+)

Sun Release 4.0  —  Last change: 1 August 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026