Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pe_sphere(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pe_sphere(3g)  —  Subroutines

Name

pe_sphere − Generates a sphere. 

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

Syntax

void pe_sphere (
  const Ppoint3    ∗center,    /∗ (I) The center point of the sphere ∗/
  Pfloat            radius     /∗ (I) The radius of the sphere ∗/
)

Data Structures


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

Description

pe_sphere generates a sphere.  The sphere is drawn in the plane z = n, where n is the z value of the argument center.  The sphere local coordinate system is the xy-plane as defined in the modeling coordinate system. 

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 sphere 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 4.1 does not support this function.

See Also

padd_names_set
pfill_area3
pfill_area_set
pfill_area_set3_data
pinq_int_facs
premove_names_set
pset_back_int_colr
pset_back_int_shad_method
pset_back_int_style
pset_back_int_style_ind
pset_back_refl_model
pset_back_refl_props
pset_depth_cue_ind
pset_facet_cull_mode
pset_facet_disting_mode
pset_global_tran
pset_hlhsr_id
pset_indiv_asf
pset_int_colr
pset_int_colr_ind
pset_int_ind
pset_int_shad_method
pset_int_style
pset_int_style_ind
pset_light_source_st
pset_local_tran
pset_pick_id
pset_refl_model
pset_refl_props
pset_view_ind

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