[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE EDGE REPRESENTATION (PHOP,WSOP,*,*)
Purpose
Use
Inquire Edge Representation
to inquire the current attribute values in the
specified entry in the edge bundle table of the specified
workstation.
Returned values of type SET or REALIZED
may be specified.
If the specified edge index is not present in the edge bundle table
on the workstation and the specified type of returned
values is REALIZED, then the graPHIGS API returns
the representation values for edge index 1.
If the information is available, then the graPHIGS API sets the
error indicator to zero and returns the values in
the output parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error
indicator to one of the following errors:
- 3
- Function Requires State (PHOP,WSOP,*,*)
- 54
- Specified Workstation Is Not Open
- 59
- Specified Workstation Does Not Have Output Capability
- 100
- Bundle Index Value Is Less Than One
- 101
- Specified Representation Has Not Been Defined
Language Bindings
C
pinq_edge_rep
(ws_id,
index, type, err_ind, edge_rep) |
Pint ws_idWorkstation identifier.
Pint indexEdge index
(>=1).
Pinq_type typeType of returned values
(0=PINQ_SET,
1=PINQ_REALIZED).
Pint *err_indError indicator.
Pedge_bundle *edge_repEdge representation.
FORTRAN
PQEDR
(wkid, edi, type,
errind, edflag, edtype,
ewidth, coli) |
integer wkidWorkstation identifier.
integer ediEdge index
(>=1).
integer typeType of returned values
(0=PSET, 1=PREALI).
integer errindError indicator.
integer edflagEdge flag
(0=POFF, 1=PON).
integer edtypeEdge type
(1=PLSOLI, 2=PLDASH, 3=PLDOT,
4=PLDASD).
real edwidthEdge width scale factor.
integer coliEdge color index
(>=0).
Errors
None
Related Subroutines
Inquire Edge Facilities
Set edge Representation
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]