Previous Next Up Title Contents Index Functions Index Top Library

REGULAR POLYGON (FILL AREA SET)

PXPOLY


CALL SEQUENCE

CALL PXPOLY (X, Y, RADIUS, NSIDES)

INPUT PARAMETERS

REAL X
X coordinate of the center in MC
REAL Y
Y coordinate of the center in MC
REAL RADIUS
Radius of the polygon in MC
INTEGER NSIDES
Number of sides

EFFECT

Insert a regular polygonal Fill Area Set primitive into the open structure.

A Fill Area Set element is created by computing the vertices of a regular polygon with the specified center, radius, and number of sides. For example, if the number of sides is 5, the polygon is a regular pentagon. The fill area set has a single boundary. All Z values are equal to zero.

Depending on the edit mode, the fill area set is inserted into the open structure after the current element or replaces the current element. The newly inserted element becomes the current element.

Minimum number of sides is 3.

This function is equivalent to computing the points and using them in a call to the Fill Area Set function (routine PFAS).

ERRORS

5
Ignoring function, function requires either state STNOP or state STOP.

SEE ALSO

Fill area set, see PFAS, PFAS3


Previous Next Up Title Contents Index Functions Index Top Library