Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pspsc(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSPSC(3g)  —  Subroutines

Name

PSPSC − Sets the value of the current parametric surface characteristics entry in the traversal state list. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element

Syntax

PSPSC (PSCTY, LDR, DATREC)

Argument        Data Type      Access   Description
---------------------------------------------------------------------------
PSCTY           Integer        Read     Parametric surface characteristics
                                        type
LDR             Integer        Read     Length of the data record array
DATREC(LDR)     Character ∗80  Read     Data record
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
PSCTY                PNOPC        None
                     PWDPC        Workstation-dependent type
                     PICPC        Isoparametric curve
                     PLCMPC       Level curve, in modeling coordinates
                     PLCWPC       Level curve, in world coordinates
Curve placement      PUOSCP       Over the surface
types
                     PUBKCP       Between knots
---------------------------------------------------------------------------

Description

PSPSC sets the current parametric surface characteristics entry in the traversal state list to the values associated with the element.  If the specified parametric surface characteristics type is not available, or if the data record contents are invalid, Digital PHIGS uses type 1. 

Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new set parametric surface characteristics element. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

Digital PHIGS Version 3.1 does not support this function.

Data Record Format

If PSCTY is PNOPC or PWDPC, there is no data record. 

If PSCTY is PICPC, the data record format is as follows:

INTEGER IL    = 3
INTEGER IA(1) =     Curve placement (PUOSCP or PUBKCP)
INTEGER IA(2) =     Curve count in the u direction
INTEGER IA(3) =     Curve count in the v direction
        RL    = 0
        RA    = ()
        SL    = 0
        LSTR  = ()
        STR   = ()

If PSCTY is PLCMPC, the data record format is as follows:

INTEGER IL    = 1     Number of integer elements
INTEGER IA(1) =       Number of parameters (NP)
INTEGER RL    = 6+NP  Number of real elements
        RA(1) =       x-coordinate of the origin point, in modeling
                      coordinates
        RA(2) =       y-coordinate of the origin point, in modeling
                      coordinates
        RA(3) =       z-coordinate of the origin point, in modeling
                      coordinates
        RA(4) =       x-coordinate of the direction vector, in
                      modeling coordinates
        RA(5) =       y-coordinate of the direction vector, in
                      modeling coordinates
        RA(6) =       z-coordinate of the direction vector, in
                      modeling coordinates
        RA    =       Elements 7 through NP+6 contain parameters
        SL    = 0
        LSTR  = ()
        STR   = ()

If PSCTY is PLCWPC, the data record format is as follows:

INTEGER IL    = 1     Number of integer elements
INTEGER IA(1) =       Number of parameters (NP)
INTEGER RL    = 6+NP  Number of real elements
        RA(1) =       x-coordinate of the origin point, in world
                      coordinates
        RA(2) =       y-coordinate of the origin point, in world
                      coordinates
        RA(3) =       z-coordinate of the origin point, in world
                      coordinates
        RA(4) =       x-coordinate of the direction vector, in
                      world coordinates
        RA(5) =       y-coordinate of the direction vector, in
                      world coordinates
        RA(6) =       z-coordinate of the direction vector, in
                      world coordinates
        RA    =       Elements 7 through NP contain parameters
        SL    = 0
        LSTR  = ()
        STR
 = ()

See Also

PBSS3

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