# SnapElement class

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

```cs
public abstract class SnapElement : ISnapElement
```

Abstract implementation of ISnapElement.

**Derived types:** [SnapLine](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.snapline.md)

## Constructors

- [SnapElement](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.snapelement/ctor.md): Base class constructor.

## Properties

- [Range](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.snapelement/range.md): Gets the radius of influence of this snap element. This value is used for sorting, in that elements with bigger ranges are sorted earlier.

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.snapelement/compareto.md): Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
- [Snap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.snapelement/snap.md): Snap a point to this element.
