# FitKind enum

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

```cs
public enum FitKind
```

Enumerates the function shapes which can be fitted through a set of samples.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Linear | 0 | Straight line, i.e. a first degree polynomial. |
| Quadratic | 1 | Second degree polynomial. |
| Cubic | 2 | Third degree polynomial. |
| Quartic | 3 | Fourth degree polynomial. |
| Quintic | 4 | Fifth degree polynomial. |
| Sextic | 5 | Sixth degree polynomial. |
| Septic | 6 | Seventh degree polynomial. |
| Octic | 7 | Eighth degree polynomial. |
| Gaussian | 8 | Gaussian bell curve. |
| Decay | 9 | Exponential decay curve. |
| Logarithm | 10 | Logarithmic curve. |
| Sinusoid | 11 | Sine wave superimposed on a linear trend. |
