Module #04.01.01 : Polyline

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 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>   *** *** *** *** ***


SR1. <Polyline 3> creates a polyline 3 element in the CSS; elements with fewer than two points are valid.
#F 9
#D 7.3.1.1
#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

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 303
#D 7.3.1.1
#S 4.4.4/29/5
#T P01/1 P01/3

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


SR4. <Polyline> creates a polyline element in the CSS; elements with fewer than two points are valid.
#F 10
#D 7.3.1.2
#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

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 303
#D 7.3.1.2
#S 4.4.4/29/5
#T P01/5 P01/7

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

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.
#F 9 10
#D 7.3.1.1 7.3.1.2
#S 4.5.1/34/1
#T P02/1 P02/2 P02/3 P02/4 P02/5 #C A list containing fewer than two points has no pairs of points
and therefore has no visual effect.
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
 



PROGRAM 1: Polyline element

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


PROGRAM 2: Appearance of polylines

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

End of documentation for 04.01.01