# Cell2 class

Namespace: [Grasshopper.Kernel.Geometry.Voronoi](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.geometry.voronoi.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class Cell2
```

Represents a two-dimensional voronoi diagram cell.

## Constructors

- [Cell2](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/ctor.md): (3 overloads)

## Fields

- [C](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/c.md)
- [M](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/m.md)

## Methods

- [Edges](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/edges.md): Get a list of all the edges that decribe the boundary of this cell.
- [Radius](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/radius.md)
- [Slice](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/slice.md): (2 overloads)
- [SliceConvexNGon](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/sliceconvexngon.md): (static) Generic n-gon slicer. If the nodes in V do not represent a valid, convex NGon then the result will not be reliable.
- [ToGraphicsPath](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/tographicspath.md)
- [ToPolyCurve](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/topolycurve.md)
- [ToPolyline](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.voronoi.cell2/topolyline.md)
