# DiscontinuityLevel enum

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

```cs
public enum DiscontinuityLevel
```

Enumerates the various curve discontinuities Grasshopper deals with.

## Values

| Name | Value | Description |
| --- | --- | --- |
| G0_Position | 0 | The curve is fully discontinuous. This marks dangling curve ends. |
| G1_Tangency | 1 | There's positional continuity, but the tangent changes suddenly. |
| G2_Curvature | 2 | There's tangential continuity, but the curvature changes suddenly. |
| G3_Jerkature | 3 | There's curvature continuity, but the first curvature derivative changes suddenly. |
| G4_Yankature | 4 | There's jerk continuity, but the second curvature derivative changes suddenly. |
| G5_Smooth | 5 | There's yank continuity. This is the highest we test for. |
| GInfinity | 6 | Curve is infinitely continuous at the given location, this only happens on the interior of spans. |
