Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pe_ellipse3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pe_ellipse3(3g)  —  Subroutines

Name

pe_ellipse3 − Specifies the 3D form of the unfilled ellipse primitive. 

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

Syntax

void pe_ellipse3 (
  const Ppoint3    ∗center,      /∗ (I) Center of the ellipse, in modeling
                                        coordinates ∗/
  const Pvec3      ∗major_axis,  /∗ (I) Vector that defines the x-axis ∗/
  const Pvec3      ∗minor_axis   /∗ (I) Vector that defines the y-axis ∗/
)

Data Structures

typedef struct {
    Pfloat     x;    /∗ x coordinate ∗/
    Pfloat     y;    /∗ y coordinate ∗/
    Pfloat     z;    /∗ z coordinate ∗/
} Ppoint3;
typedef struct {
    Pfloat     delta_x;    /∗ delta x value ∗/
    Pfloat     delta_y;    /∗ delta y value ∗/
    Pfloat     delta_z;    /∗ delta z value ∗/
} Pvec3;

Description

pe_ellipse3 specifies the three-dimensional form of the unfilled ellipse primitive.  The ellipse 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 unfilled ellipse 3 element. 

During structure traversal, Digital PHIGS generates an unfilled ellipse.  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. 

If the magnitudes of both axes are less than or equal to 0, Digital PHIGS displays a dot.  If one of the axes is less than or equal to 0, Digital PHIGS displays a line of the correct magnitude.  If the axes do not define the system (the vectors are parallel and nonzero), Digital PHIGS uses (1,0,0) for the major axis and (0,1,0) for the minor axis. 

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

Digital PHIGS Version 4.1 does not support this function.

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