> 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.md).

# Utilities

- [Snub Polyline](https://interopxyz.gitbook.io/curve-plus/components/utilities/snub-polyline.md): Snub the corners of a closed polyline
- [Smooth Corners](https://interopxyz.gitbook.io/curve-plus/components/utilities/smooth-corners.md): Smooth the corners of a segmented curve by unitized parameter
- [Smooth Corners By Distance](https://interopxyz.gitbook.io/curve-plus/components/utilities/smooth-corners-by-distance.md): Fits a list of cubic Bezier spans to a Nurbs Curve
- [Tri Fan Polyline](https://interopxyz.gitbook.io/curve-plus/components/utilities/tri-fan-polyline.md): Triangulate fans from edges about the area centroid.
- [Quad Fan Polyline](https://interopxyz.gitbook.io/curve-plus/components/utilities/quad-fan-polyline.md): Quadrangulates fans from edge segments about the area centroid.
- [MidEdge Polyline](https://interopxyz.gitbook.io/curve-plus/components/utilities/midedge-polyline.md): Creates a new polyline from the midpoints of an existing polyline.
- [Triangulate Closed Polyline](https://interopxyz.gitbook.io/curve-plus/components/utilities/triangulate-closed-polyline.md): Closed triangular polylines derived from Rhino's Triangulate Closed Polyline method.
- [Close Curve](https://interopxyz.gitbook.io/curve-plus/components/utilities/close-curve.md): Closes a curve by adding an additional span
- [Offset by Points](https://interopxyz.gitbook.io/curve-plus/components/utilities/offset-by-points.md): Offset a polyline by vertex parameters
- [Cull Points](https://interopxyz.gitbook.io/curve-plus/components/utilities/cull-points.md): Cull points from a polyline by indices
- [Cull Segments](https://interopxyz.gitbook.io/curve-plus/components/utilities/cull-segments.md): Cull linear segments from a polyline by indices
- [Weight Control Points](https://interopxyz.gitbook.io/curve-plus/components/utilities/weight-control-points.md): Weight Control Points


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://interopxyz.gitbook.io/curve-plus/components/utilities.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
