### 2.10 Polyline

To draw an open or closed polyline (list of points) with one or several connex components.

• Shortcut: Ctrl+L
• We give a name.
• We enter a command like: [A1,...,An]. A1,...,An are the point’s affixes that build the line. In case of several connex components, we separate them with the jump constant, for example: [A1,A2,A3,jump,A4,A5,A6].
• We can set two line parameters:
• A radius (>0) for rounded angles (arcs of the desired radius).
• A boolean to set if the line is open or closed (0=open).
• The line style can be set in the Attributes and so are the thickness, the fill mode and the colors. It is also possible to add arrows at the ends.
• Some of the graphical elements are build from a list of points (curves, differential equations,...). It is possible to get the list with the function Get. For example, if you created a spline called $S1$, you can get all the points of that curve and store the list in a $A$ variable with : A:=Get(S1).
• It is possible to determine the intersection of two polyline with the InterL operator. For example, the execution of Get(Courbe(t+i*t^2)) InterL Get(Droite(0,1+i)) returns:
[0,0.999368819693+0.999368819693*i].
• Corresponding graphical command:Ligne (to be used in a User-defined type element).