> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/curve-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/curve-plus/components/utilities/midedge-polyline.md).

# MidEdge Polyline

Creates a new polyline from the midpoints of an existing polyline.

## Description

Creates a new polyline from the midpoints of an existing polyline.

{% tabs %}
{% tab title="Preview" %}
![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2F8oghKwF9jv9Kb4VFxXRr%2FComponent-MidEdgePolyline.png?alt=media\&token=06c1cb0f-aa1f-4193-a628-65aeb29e1311)
{% endtab %}

{% tab title="Location" %}
**Name** | Mid Edge Polyline

**Nickname** | Mid Edge

**Tab** | Curve

**Panel** | Util

**Division** | 4
{% endtab %}

{% tab title="Inputs" %}
**P** | **Polyline** (*Curve*) | The source polyline

**C** | **Close** (*Bool*) | Optionally close the output polyline from an open input
{% endtab %}

{% tab title="Outputs" %}
**P** | **Polyline** (*Curve*) | The new polyline
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2FJMNDTfAKawtXzKdoUGrG%2FMidEdgePolyline.gif?alt=media\&token=94066b99-4da4-4d31-9e99-a36d23a6de3b)
