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> *** *** *** *** ***#F 17
SR1. <Fill area 3> creates a fill area 3 element in the CSS; elements with fewer than three vertices are valid.
#F 303
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 304
SR3. If current element is fill area 3 then <inquire current element content> returns the appropriate data for fill area 3.
*** *** *** *** *** <Fill area> *** *** *** *** ***#F 18
SR4. <Fill area> creates a fill area element in the CSS; elements with fewer than three vertices are valid.
#F 303
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 304
SR6. If current element is fill area then <inquire current element content> returns the appropriate data for fill area.
#F 17 18
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
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.
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
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.