poly_line

This element is desribed using the same procedure as in poly-loop. However, the first and last points are not necessarily connected. An XML example is below:

<poly_line>
    <start_point x="0.2" y="0.3"/>
    <next_line x="0.1" y="0.1" line_mesh_count="36" line_mesh_power="4.5"/>
    <next_arc x="-0.1" y="0.1" radius="0.2" right="true" short="true" arc_mesh_count="96"/>
    <next_line x="-0.2" y="0.2" line_mesh_count="36" line_mesh_power="1."/>
    <next_line x="-0.3" y="0.1" line_mesh_count="24" line_mesh_power="4.5"/>
</poly_line>

In this case, the sequence progresses through five (x,y) points but does not connect back to the starting point. Hence, it does not form a closed loop like the poly-loop element does, and does not need a <last_...> command. Otherwise, the parameters for poly-line are the same as for poly-loop.

XML element: <poly_line>
C++ type: KGPlanarPolyLine
Child elements

Element

Description

next_arc

next_line

previous_arc

previous_line

start_point

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: