# SnapGrid class

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

```cs
public abstract class SnapGrid
```

Base class for point picking snapping grids.

**Derived types:** [SnapGridPlanar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.pickers.snapgridplanar.md), [SnapGridTriangular](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.pickers.snapgridtriangular.md)

## Methods

- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.pickers.snapgrid/draw.md): Draw this grid in a viewport.
- [ProjectToSpace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.pickers.snapgrid/projecttospace.md): Project a point to the snapping space. This may for example be a plane or circle depending on whether the grid is planar or spherical.
- [ProjectToVertex](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.pickers.snapgrid/projecttovertex.md): Project a point in the snapping space to the nearest grid vertex.
