PPM(3g) — Subroutines
Name
PPM − Draws the 2D form of a polymarker primitive.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
PPM (N, PXA, PYA)
Argument Data Type Access Description
-------------------------------------------------------------------------
N Integer Read Number of markers to be drawn
PXA(N), Array of Read Array of x and y coordinates, in
PYA(N) modeling coordinates
-------------------------------------------------------------------------
Description
PPM draws the two-dimensional form of a polymarker primitive by connecting the modeling coordinate points in the list of points. Its z-coordinate value is 0.
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 polymarker element.
A call to the PPM function has the following effects during structure traversal:
•Digital PHIGS generates a sequence of markers to identify all the points specified in the point list.
•Digital PHIGS binds the current values of the polymarker attributes, as defined in the PHIGS traversal state list, to the polymarker primitive.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
PADS
PQPMF
PPM3
PRES
PSDCI
PSHRID
PSIASF
PSMKSC
PSMK
PSPKID
PSPMC
PSPMCI
PSPMI
PSVWI