Previous Next Up Title Contents Index Functions Index Top Library

FILL AREA SET 3

PFAS3


CALL SEQUENCE

CALL PFAS3 (NPL, IXA, PXA, PYA, PZA)

INPUT PARAMETERS

INTEGER NPL
Points set number. Each set defines a closed polygon.
INTEGER IXA(NPL)
NPL dimension table. Each IXA (N) element in the table specifies the index of the last point of the Nth polygon in the list.
REAL PXA(IXA(NPL)), PYA(IXA(NPL)), PZA(IXA(NPL))
Point coordinate table. There are IXA (NPL) points in total.

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

This function specifies the 3D characteristics of the fill area set function.

The FILL AREA SET 3 element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on the edit mode value. Element pointer is updated and points to the FILL AREA SET 3 structure element. The values specified in the function are associated with the element.

A set of closed polygons is generated when this function is interpreted. These polygons must be coplanar. The current attributes of the fill area set (interior and edge), defined in the PHIGS traversal state list are applied to the primitive. The FILL AREA SET 3 function containing a polygon with less than three edges or where the points list is empty, will be stored in the open structure but will have no visual effect when interpreted. The fill area set edges are not necessarily displayed. The existence or appearance of the edges is controlled by the attributes.

The filling rule of intersecting subpolygons is device dependent. See the GPHIGS user guide for more details on polygons with holes.

Attributes associated with Fill Area Set:

INTERIOR STYLE

INTERIOR STYLE INDEX

INTERIOR COLOUR

EDGE FLAG

EDGE TYPE

EDGE WIDTH SCALE FACTOR

EDGE COLOUR

EXTENSION TO THE PHIGS STANDARD

If used in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)

SEE ALSO

open structure, open pipe (ext), set interior index, set interior style, set interior style index, set interior colour, set interior colour index, set edge flag, set edgetype, set edgewidth scale factor, set edge colour, set edge colour index, fill area set, inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library