Previous Next Up Title Contents Index Functions Index Top Library

FILL AREA 3

PFA3


CALL SEQUENCE

CALL PFA3 (N, PXA, PYA, PZA)

INPUT PARAMETERS

INTEGER N
Number of points.
REAL PXA(N), PYA(N), PZA(N)
Point coordinates (MC).

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

This function specifies the 3D geometrical characteristics of the fill area or polygon fill primitives.

The FILL AREA 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 3 structure element. The values specified in the function are associated with the element.

When an element of this type is interpreted, the polygon defined by the points is filled using the current attributes. The polygon must be flat. The current attributes of the polygon defined in the PHIGS traversal state list are applied to the polygon. A polygon with less than three points is placed in the open structure but has no visual effect when interpreted.

Attributes associated with Fill Area:

INTERIOR STYLE

INTERIOR STYLE INDEX

INTERIOR 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, fill area, inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library