Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pe_circular_arc3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pe_circular_arc3(3g)  —  Subroutines

Name

pe_circular_arc3 − Specifies the 3D, shorthand form of the circular arc primitive. 

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

Syntax

void pe_circular_arc3 (
  const Ppoint3  ∗center,       /∗ (I) Center of the circle, in modeling
                                       coordinates ∗/
  Pfloat          radius,       /∗ (I) Radius of the circle, in modeling
                                       coordinates ∗/
  Pfloat          start_angle,  /∗ (I) Starting angle for drawing the arc,
                                       in radians ∗/
  Pfloat          end_angle     /∗ (I) Ending angle for drawing the arc,
                                       in radians ∗/
)

Data Structures

typedef struct {
    Pfloat     x;    /∗ x coordinate ∗/
    Pfloat     y;    /∗ y coordinate ∗/
    Pfloat     z;    /∗ z coordinate ∗/
} Ppoint3;

Description

pe_circular_arc3 specifies the three-dimensional (x, y, and z) form of the circular arc primitive.  The local coordinate system is the xy-plane as defined in the modeling coordinate system. 

Depending on the 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 circular arc 3 element. 

Digital PHIGS generates a circular arc 3 from the start angle to the end angle in a counterclockwise direction. Digital PHIGS binds the current values of the polyline primitive as defined in the PHIGS traversal state list to the primitive, and renders it according to the current curve approximation criteria. 

During structure traversal, Digital PHIGS displays a dot at the center of the circular arc if the radius of the arc is less than or equal to 0. 

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

See Also

padd_names_set
pinq_line_facs
premove_names_set
pset_depth_cue_ind
pset_hlhsr_id
pset_indiv_asf
pset_linetype
pset_linewidth
pset_pick_id
pset_line_colr
pset_line_colr_ind
pset_line_ind
pset_line_shad_method
pset_view_ind

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