Module #04.01.06 : Fill area set

All PVT documentation can be found under PHIGS Validation Tests - Overview. You may also return to the hierarchical table of topics covered by the PVT. For an explanation of the format of the individual module documentation, please see section 2.5 of the User's Guide.


DESCRIPTION: This module tests that fill area sets are rendered
correctly and that a program can set up a fill area set element in the
CSS, which will create a primitive upon traversal.

SEMANTIC REQUIREMENTS:

*** *** *** *** ***   <Fill area set 3>   *** *** *** *** ***


SR1. <Fill area set 3> creates a fill area set 3 element in the CSS; elements whose subareas have fewer than three vertices are valid.
#F 19
#D 7.3.1.11
#S 4.4.1/22/3 4.5.1/34/1
#T P01/1 P01/2 P01/3 P01/4 P02/1 P02/2 P02/3 P02/4 P02/5 P03/1 P03/2

SR2. If current element is fill area set 3 then <inquire current element type and size> returns the element type as fill area set 3 and the appropriate element size.
#F 303
#D 7.3.1.11
#S 4.4.4/29/5
#T P01/1 P01/3

SR3. If current element is fill area set 3 then <inquire current element content> returns the appropriate data for fill area set 3.
#F 304
#D 7.3.1.11
#S 4.4.4/29/5
#T P01/2 P01/4
*** *** *** *** ***   <Fill area set>   *** *** *** *** ***


SR4. <Fill area set> creates a fill area set element in the CSS; elements whose subareas have fewer than three vertices are valid.
#F 20
#D 7.3.1.12
#S 4.4.1/22/3 4.5.1/34/1
#T P01/5 P01/6 P01/7 P01/8 P02/1 P02/2 P02/3 P02/4 P02/5 P03/1 P03/2

SR5. If current element is fill area set then <inquire current element type and size> returns the element type as fill area set and the appropriate element size.
#F 303
#D 7.3.1.12
#S 4.4.4/29/5
#T P01/5 P01/7

SR6. If current element is fill area set then <inquire current element content> returns the appropriate data for fill area set.
#F 304
#D 7.3.1.12
#S 4.4.4/29/5
#T P01/6 P01/8

SR7. <Fill area set> and <fill area set_3> primitives are specified by a set of ordered lists of 2D or 3D points, expressed in modelling coordinates (MC). The primitive is rendered as a collection of closed polygonal subareas, each of whose vertices are the points in each of the lists.
#F 19 20
#D 7.3.1.11 7.3.1.12
#S 4.5.1/34/1
#T P02/1 P02/2 P02/3 P02/4 P02/5 P03/1 P03/2 #C A subarea containing fewer than three vertices has no area and
therefore has no visual effect. The visual effect of degenerate
subareas with more than two points, or of non-planar fill area
sets is not specified by the standard.

SR8. The interior of a fill area set is determined by the number of intersections between a straight line drawn from a given point to infinity in the plane of the primitive and the subarea boundaries. If the number of intersections is odd, the point is in the interior, otherwise it is outside.
#F 19 20
#D 7.3.1.11 7.3.1.12
#S 4.5.1/35/6
#T P03/1 P03/2 #C Note that the above definition is NOT equivalent to the union
of the interiors of the subareas.
LOCAL DICTIONARY:

  Functions ---
  019: pfas3   <fill area set 3>
  020: pfas    <fill area set>
  303: pqcets  <inquire current element type and size>
  304: pqceco  <inquire current element content>
 
  Data Structures ---
  7  ...  structure_state_list
  7.3  ...  list_of_structure_elements
  7.3.1  ...  graphical_primitives
  7.3.1.11 ...  fill_area_set_3
  7.3.1.12 ...  fill_area_set
 



PROGRAM 1: Fill area set element

You may inspect either the design or code for this program.


PROGRAM 2: Appearance of fill area sets

You may inspect either the design or code for this program.


PROGRAM 3: Appearance of fill area set interiors

You may inspect either the design or code for this program.

End of documentation for 04.01.06