pe_cone(3g) — Subroutines
Name
pe_cone − Generates a cone.
Operating States: PHOP, ∗, STOP, ∗
Digital PHIGS extension function
Creates a structure element
Syntax
void pe_cone (
const Ppoint3 ∗center1, /∗ (I) Apex of the cone ∗/
const Ppoint3 ∗center2, /∗ (I) Center point of the base of the
cone ∗/
Pfloat radius /∗ (I) Radius of the cone ∗/
)
Data Structures
typedef struct {
Pfloat x; /∗ x coordinate ∗/
Pfloat y; /∗ y coordinate ∗/
Pfloat z; /∗ z coordinate ∗/
} Ppoint3;
Description
pe_cone generates a cone. You specify the apex of the cone (P1) and the center of the base of the cone (P2). Digital PHIGS generates the base of the cone perpendicular to the vector from P1 to P2.
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 cone 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