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> *** *** *** *** ***#F 19
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 303
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 304
SR3. If current element is fill area set 3 then <inquire current element content> returns the appropriate data for fill area set 3.
*** *** *** *** *** <Fill area set> *** *** *** *** ***#F 20
SR4. <Fill area set> creates a fill area set element in the CSS; elements whose subareas have fewer than three vertices are valid.
#F 303
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 304
SR6. If current element is fill area set then <inquire current element content> returns the appropriate data for fill area set.
#F 19 20
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
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.
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
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.