> 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/primitives/inscribed-polygon.md).

# Inscribed Polygon

A regular inscribed polygon

## Description

A regular inscribed polygon

{% tabs %}
{% tab title="Preview" %}
![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2FeIrsjYZYumHRK4BMg4I6%2FComponent-InscribedPolygon.png?alt=media\&token=2e9dbfdc-92c3-4aaf-9c28-71091173f72b)
{% endtab %}

{% tab title="Location" %}
**Name** | Inscribed Polygon

**Nickname** | InPgon

**Tab** | Curve

**Panel** | Primitive

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

{% tab title="Inputs" %}
**P** | **Plane** (*Plane*) | Polygon base plane

**R** | **Radius** (*Number*) | The distance from the center to the corner of the polygon

**S** | **Sides** (*Integer*) | The number of sides of the regular polygon. Must be more than 2
{% endtab %}

{% tab title="Outputs" %}
**P** | **Polygon** (*Curve*) | Regular polygon curve
{% 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%2FYxXHwh2vmYCq9HC8ccVz%2FPolygonInscribed.gif?alt=media\&token=67ae33e7-d1f0-4416-8a39-95756a51b6df)
