> 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/smooth/degree-2-smoothing.md).

# Degree 2 Smoothing

Incrementally subdivide a polyline matching a degree 2 NURBS curve

## Description

Incrementally subdivide a polyline matching a degree 2 NURBS curve. Based on the Lane-Riesenfeld algorithm

{% tabs %}
{% tab title="Preview" %}
![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2FHZzyy9nwZRn5DsM5ZjTq%2FDeg2_Smooth.png?alt=media\&token=d2e6b9b2-902a-45bf-9fce-73e51857789a)
{% endtab %}

{% tab title="Location" %}
**Name** | Degree 2 Smoothing

**Nickname** | Deg2

**Tab** | Curve

**Panel** | Smooth

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**P** | **Polyline** (*Curve*) | Polyline to subdivide and smooth

**I** | **Iterations** (*Integer*) | The number of smoothing iterations
{% endtab %}

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

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

## Usage

<figure><img src="https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2F3PppDKdgx6L1lqoH0ts4%2FCurvePlus_Deg2.gif?alt=media&amp;token=adb3a294-fa4d-40ab-86ce-6531da151b95" alt=""><figcaption></figcaption></figure>
