# Maths.Boundary.ConvexHull2D class

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Maths.Boundary.ConvexHull2D
```

Encapsulates the indices (in anti-clockwise order) of all the points in a 2D point set which lie on the convex hull polygon.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.boundary.convexhull2d/count.md): Gets the number of hull points.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.boundary.convexhull2d/item.md): Gets the index of the given hull point.

## Methods

- [From0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.boundary.convexhull2d/from0.md): (static) Create an empty hull.
- [From1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.boundary.convexhull2d/from1.md): (static) Create a hull around a single index.
- [From2](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.boundary.convexhull2d/from2.md): (static) Create a hull from two points.
- [ToArray](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.boundary.convexhull2d/toarray.md): Create an array of hull indices.
