# ScalarField class

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

```cs
public abstract class ScalarField : Field
```

Basic implementation for scalar fields. This class provides standard implementations for vector evaluations.

**Derived types:** [ConstantScalarField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.standard.constantscalarfield.md), [ScalarInterpolationField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.standard.scalarinterpolationfield.md), [SimplexScalarField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.standard.simplexscalarfield.md), [WirePotentialField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.standard.wirepotentialfield.md)

## Properties

- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.scalarfield/type.md)

## Methods

- [AnalyticalGradientAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.scalarfield/analyticalgradientat.md)
- [VectorAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.scalarfield/vectorat.md): Evaluate the field vector component at a specific point in space. If this is a scalar-field, the returned value is *probably* a vector in the form (0,0,scalar), but this is not guaranteed.

## Inherited Members

- From [Field](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field.md): [FormatLabel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/formatlabel.md), [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/name.md), [Format](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/format.md), [ModifierArguments](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/modifierarguments.md), [ScalarAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/scalarat.md), [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/store.md), [Trace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/trace.md), [TryModify](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.fields.field/trymodify.md)
