# Cull Points

## Description

Cull points from a polyline by indices

{% tabs %}
{% tab title="Preview" %}
![](https://970693072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdsbfCRcDsSN9QLbjbulF%2Fuploads%2FbtBrAJ5RoqyWbiap3Mri%2FComponent-CullPoints.png?alt=media\&token=977f4acc-e4f3-4d7f-ba9e-83dacc721bce)
{% endtab %}

{% tab title="Location" %}
**Name** | Cull Points

**Nickname** | CullPts

**Tab** | Curve

**Panel** | Util

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

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

**I** | **Indices** (*Integer*) | The indices of the points to remove.

**C** | **Collapse** (*Bool*) | If true, a single polyline will be returned with the points removed. If false, a list of polylines will be returned that are broken at the specified indices.
{% endtab %}

{% tab title="Outputs" %}
**P** | **Polylines** (*Curve*) | A list of polylines
{% endtab %}

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

## Usage


---

# 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://interopxyz.gitbook.io/curve-plus/components/utilities/cull-points.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.
