Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_trim_curve_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_trim_curve_facs(3g)  —  Subroutines

Name

pinq_trim_curve_facs − Returns trimming curve information. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function

Syntax

void pinq_trim_curve_facs (
  Pint         wstype,                /∗ (I) Workstation type ∗/
  Pint         num_elems_appl_list,   /∗ (I) Number of elements in the
                                             application list ∗/
  Pint         start_ind,             /∗ (I) Starting position within the
                                             Digital PHIGS list ∗/
  Pint        ∗error_ind,             /∗ (O) Error indicator ∗/
  Pint        ∗max_order,             /∗ (O) Maximum trimming curve order
                                             supported ∗/
  Pint_list   ∗types,                 /∗ (O) List of available trimming
                                             curve approximation types ∗/
  Pint        ∗num_elems_impl_list    /∗ (O) Total number of elements in
                                             the list in Digital PHIGS ∗/
)

 

Data Structures

typedef struct {
    Pint      num_ints;   /∗ number of Pints in the list ∗/
    Pint     ∗ints;       /∗ list of integers ∗/
} Pint_list;

Constants

Data Structure Constants  Constant                  Description
---------------------------------------------------------------------------
Trimming curve            PCURVE_APPROX_WS_DEP      Workstation-dependent
approximation types                                 method
                          PCURVE_APPROX_CONST_      Constant parametric
                          PARAM_SUBD                subdivision between
                                                    knots
                          PCURVE_APPROX_CHORDAL_    Chordal size, in world
                          SIZE_WC                   coordinate units
                          PCURVE_APPROX_CHORDAL_    Chordal size, in
                          SIZE_NPC                  normalized projection
                                                    units
                          PCURVE_APPROX_CHORDAL_    Chordal size, in
                          SIZE_DC                   device coordinate
                                                    units
                          PCURVE_APPROX_CHORDAL_    Chordal deviation, in
                          DEV_WC                    world coordinates
                          PCURVE_APPROX_CHORDAL_    Chordal deviation, in
                          DEV_NPC                   normalized projection
                                                    coordinates
                          PCURVE_APPROX_CHORDAL_    Chordal deviation, in
                          DEV_DC                    device coordinates
                          PCURVE_APPROX_REL_WC      Relative, in world
                                                    coordinate units
                          PCURVE_APPROX_REL_NPC     Relative, in normal-
                                                    ized projection
                                                    coordinates
                          PCURVE_APPROX_REL_DC      Relative, in device
                                                    coordinate units
---------------------------------------------------------------------------

Description

pinq_trim_curve_facs returns information on trimming curves.  The application must provide the space used by the list.  The application passes the address of the list, an array of integers, in the ints field of the types argument, and passes the size in the num_elems_appl_list argument.  Digital PHIGS returns the number of elements written to the list in the num_ints field of the types argument. 

Digital PHIGS Version 4.1 does not support this function.

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