Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_curve_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_curve_facs(3g)  —  Subroutines

 

Name

pinq_curve_facs − Returns information on the curve approximation types. 

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

Syntax

void pinq_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 nonuniform B-spline
                                           curve order supported ∗/
  Pint_list   ∗types,               /∗ (O) List of available 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            Constant                   Description
Constants
---------------------------------------------------------------------------
Curve approximation       PCURVE_APPROX_WS_DEP       Workstation-dependent
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
                                                     normalized projection
                                                     coordinates
                          PCURVE_APPROX_REL_DC       Relative, in device
                                                     coordinate units
---------------------------------------------------------------------------

Description

pinq_curve_facs returns information on the curve approximation types. 
  This function used to be part of the ppinqcurveandsurfacefac function. The standard splits the ppinqcurveandsurfacefac function into the following four functions:

•pinq_b_spline_surf_facs

•pinq_curve_facs

•pinq_param_surf_facs

•pinq_trim_curve_facs

Digital PHIGS Version 4.1 does not support this function.

See Also

pnon_uniform_b_spline_curve3
pnon_uniform_b_spline_surf3
pset_curve_approx_crit
pset_surf_approx_crit

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