Module #04.01.05 : Fill area

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 areas are rendered
correctly and that a program can set up a fill area element in the
CSS, which will create a primitive upon traversal.

SEMANTIC REQUIREMENTS:

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


SR1. <Fill area 3> creates a fill area 3 element in the CSS; elements with fewer than three vertices are valid.
#F 17
#D 7.3.1.9
#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 3 then <inquire current element type and size> returns the element type as fill area 3 and the appropriate element size.
#F 303
#D 7.3.1.9
#S 4.4.4/29/5
#T P01/1 P01/3

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


SR4. <Fill area> creates a fill area element in the CSS; elements with fewer than three vertices are valid.
#F 18
#D 7.3.1.10
#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 then <inquire current element type and size> returns the element type as fill area and the appropriate element size.
#F 303
#D 7.3.1.10
#S 4.4.4/29/5
#T P01/5 P01/7

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

SR7. <Fill area> and <fill area 3> primitives are specified by an ordered list of 2D or 3D points, expressed in modelling coordinates (MC). The primitive is rendered as a single, closed polygonal area, whose vertices are the points in the list.
#F 17 18
#D 7.3.1.9 7.3.1.10
#S 4.5.1/34/1
#T P02/1 P02/2 P02/3 P02/4 P02/5 P03/1 P03/2 #C A list containing fewer than three vertices has no area and
therefore has no visual effect. The visual effect of degenerate
fill areas with more than two points, or of non-planar fill areas
is not specified by the standard.

SR8. The interior of a fill area is determined by the number of intersections between a straight line drawn from a given point to infinity and the fill area boundary. If the number of intersections is odd, the point is in the interior, otherwise it is outside.
#F 17 18
#D 7.3.1.9 7.3.1.10
#S 4.5.1/35/6
#T P03/1 P03/2
LOCAL DICTIONARY:

  Functions ---
  017: pfa3    <fill area 3>
  018: pfa     <fill area>
  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.9  ...  fill_area_3
  7.3.1.10 ...  fill_area
 



PROGRAM 1: Fill area element

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


PROGRAM 2: Appearance of fill areas

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


PROGRAM 3: Appearance of fill area interiors

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

End of documentation for 04.01.05