> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Points Using Hilbert Curve

> AI context for Order Points Using Hilbert Curve. Not linked in navigation.

> This page is for AI assistant context only. To use this package, visit [community.ntop.com](https://community.ntop.com/packages/DaveMakesStuff/order-points-using-hilbert-curve).

> **Community submission — not verified by nTop.** This package was submitted by an outside community member and has not been reviewed or verified by nTop. Treat its accuracy, safety, and compatibility claims with appropriate caution.

## Summary

Orders a list of points on the XY plane according to position along a Hilbert Curve.

## Package Details

| Field            | Value                                                                               |
| ---------------- | ----------------------------------------------------------------------------------- |
| **ID**           | `order-points-using-hilbert-curve`                                                  |
| **Type**         | Notebook                                                                            |
| **Author**       | DaveMakesStuff                                                                      |
| **Version**      | 0.1.0                                                                               |
| **nTop Version** | 4.12+                                                                               |
| **Domain**       | Geometry                                                                            |
| **Complexity**   | Intermediate                                                                        |
| **Tags**         | `point`, `point list`, `Hilbert Curve`, `SFC`, `Space-filling curve`, `sort points` |
| **License**      | MIT                                                                                 |
| **Verified**     | No                                                                                  |

***

Orders a list of points on the XY plane according to position along a Hilbert Curve.

## Installation

Clone this repo or copy the package folder into your nTop workspace:

```bash theme={null}
git clone https://github.com/nTopology/Utilities-community.git
```

The package lives at `packages/DaveMakesStuff/order-points-using-hilbert-curve/`.

## Usage

1. Open the provided `.ntop` file in nTop 4.12+.
2. Input points to be ordered
3. Select number of Hilbert Curve iterations
4. Use the "Polycurve" block to visualize how output points are ordered and adjust iterations as needed.

## Inputs & outputs

| Name             | Type       | Notes                                                                |
| ---------------- | ---------- | -------------------------------------------------------------------- |
| `Points`         | Point List | Points to be ordered                                                 |
| `Iterations`     | Choice     | Select number of iterations to perform on Hilbert Curve from 1 to 8. |
| `Ordered Points` | Point List | Output point list                                                    |

## License

MIT.

***

## Source

[https://community.ntop.com/packages/DaveMakesStuff/order-points-using-hilbert-curve](https://community.ntop.com/packages/DaveMakesStuff/order-points-using-hilbert-curve)
