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

GENERALIZED DRAWING PRIMITIVE 3 (PHOP,*,STOP,*)

Purpose

Use Generalized Drawing Primitive 3 to specify a three-dimensional generalized drawing primitive (GDP 3) element and insert it into the open structure following the element pointer or replace the element pointed at by the element pointer with a Generalized Drawing Primitive 3 structure element, depending on the current edit mode.

There are no GDP 3 identifiers currently defined by the graPHIGS API. Therefore, when the graPHIGS API encounters this type of element, it does not display the primitive nor does it generate an error. However, GDPs are available through the GPxxxx subroutines. See The graPHIGS Programming Interface: Subroutine Reference for details.

Language Bindings

C

pgdp3 (point_list, gdp3_id, gdp_data)

Input Parameters

const Ppoint_list3 *point_list
List of points.

Pint gdp3_id
GDP 3 identifier.

const Pgdp_data3 *gdp_data
GDP 3 data record.

FORTRAN

PGDP3 (n, pxa, pya, pza, primid, ldr, datrec)

Input Parameters

integer n
Number of points (>=0).

real pxa (*)
x coordinates of points in MC.

real pya (*)
y coordinates of points in MC.

real pza (*)
z coordinates of points in MC.

integer primid
GDP 3 identifier.

integer ldr
Dimension of the GDP 3 data record array.

character*80 datrec(ldr)
GDP 3 data record.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • None


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