DSPHR(3g) — Subroutines
Name
DSPHR − Generates a sphere.
Operating States: PHOP, ∗, STOP, ∗
Digital PHIGS extension function
Creates a structure element
Syntax
DSPHR (PX, PY, PZ, RADIUS)
Argument Data Type Access Description
---------------------------------------------------------------------------
PX, PY, PZ Real Read Center of the sphere, in modeling
coordinates
RADIUS Real Read Radius of the sphere, in modeling
coordinates
---------------------------------------------------------------------------
Description
DSPHR generates a sphere. The sphere is drawn in the plane z = n, where n is PZ. 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 3.1 does not support this function.
See Also
PADS
PFA3
PFAS
PFAS3D
PQIF
PRES
PSBIC
PSBISM
PSBIS
PSBISI
PSBRFM
PSBRFP
PSDCI
PSFCM
PSFDM
PSGMT
PSHRID
PSIASF
PSIC
PSICI
PSII
PSISM
PSIS
PSISI
PSLSS
PSLMT
PSPKID
PSRFM
PSRFP
PSVWI