DESCRIPTION: This module tests that polylines are rendered correctly and that a program can set up a polyline element in the CSS, which will create a primitive upon traversal. SEMANTIC REQUIREMENTS: *** *** *** *** *** <Polyline 3> *** *** *** *** ***#F 9
SR1. <Polyline 3> creates a polyline 3 element in the CSS; elements with fewer than two points are valid.
#F 303
SR2. If current element is polyline 3 then <inquire current element type and size> returns the element type as polyline 3 and the appropriate element size.
#F 304
SR3. If current element is polyline 3 then <inquire current element content> returns the appropriate data for polyline 3.
*** *** *** *** *** <Polyline> *** *** *** *** ***#F 10
SR4. <Polyline> creates a polyline element in the CSS; elements with fewer than two points are valid.
#F 303
SR5. If current element is polyline then <inquire current element type and size> returns the element type as polyline and the appropriate element size.
#F 304
SR6. If current element is polyline then <inquire current element content> returns the appropriate data for polyline.
#F 9 10
SR7. <Polyline> and <polyline_3> primitives are specified by an ordered list of 2D or 3D points, expressed in modelling coordinates (MC). The primitive is rendered by connecting each pair of successive MC points with a straight line segment.
LOCAL DICTIONARY:
Functions --- 009: ppl3 <polyline 3> 010: ppl <polyline> 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.1 ... polyline_3 7.3.1.2 ... polyline
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.