[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPEI - Set Edge Index

GPEI (index)

Purpose

Use GPEI to insert a Set Edge Index structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Edge Index structure element depending on the current edit mode.

This structure element specifies an entry in the workstation's edge bundle table. The entry contains attribute settings for edge flag, edge line type, edge scale factor, and edge color. At structure traversal time, the graPHIGS API uses these attribute settings to render all subsequent polygon primitives for those attributes which have an aspect source flag value set to 1=BUNDLED

The traversal default edge index value is 1.

If the workstation does not support the specified index, then the edge index defaults to a value of 1.

Parameters

index -- specified by user, fullword integer

Edge bundle table index (>=1)

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
60
BUNDLE INDEX VALUE < ONE

Related Subroutines

GPQLW
Inquire Length of Workstation State Tables
GPQXER
Inquire Extended Edge Representation
GPXER
Set Extended Edge Representation

RCP code

201328388 (X'0C000704')


[ Previous | Next | Contents | Glossary | Home | Search ]