# 2D Polyline

A 2D Polyline is an annotation tool used to draw a series of connected straight-line segments on a 2D image. It consists of multiple points (or nodes) that define the shape, allowing you to mark irregular or elongated objects with precision, such as road lanes, boundaries, or paths.

***

## Create Polyline 2D

1. Click the '+' icon next to the class you want to annotate from the class list.
2. Select 'Polyline 2D' from the drawing tool list.
3. The cursor pointer shows a yellow circle marker while hovering over the image.
4. `Left-click` to place the first point and start the polyline. Move your mouse to the next desired location, and a line extending from the initial point will dynamically follow the cursor.
5. Continue left-clicking to create additional vertices/points along the path.
6. `Right-click` to place the final vertex and end the polyline.
7. Enter the annotation details.
8. The saved instance will appear in the class list with a 2D icon next to the instance name, indicating it was created in the image sensor.

***

### Modify Polyline 2D

To modify an existing polyline:

* **Move a vertex:** Select a vertex and drag it to a new location.
* **Remove a vertex:** Drag the vertex to its adjacent vertex to delete it.
* **Add a vertex:** Hover over a segment between two vertices. The segment turns yellow and a pink point appears, showing where the new vertex will be created. `Left-click` to add the vertex.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imerit.net/3d-multi-sensor-fusion/labeling/3d-multi-sensor-fusion-labeling-editor/drawing-tools/2d-polyline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
