# GH_Interval class

Namespace: [Grasshopper.Kernel.Types](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.types.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_Interval : GH_Goo<Interval>, IGH_QuickCast
```

Represents a one-dimensional numeric domain.

## Constructors

- [GH_Interval](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/ctor.md): (3 overloads) Default constructor

## Properties

- [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/isvalid.md): Gets the validity of this instance. Intervals are invalid if either of the extremes is a #NaN.
- [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/isvalidwhynot.md): Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
- [QC_Type](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-type.md)
- [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/typedescription.md)
- [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/typename.md)

## Methods

- [CastFrom](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/castfrom.md): Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
- [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/castto.md): Local to Remote caster function. this stuff is complex, don't concern yourself with casting logic.
- [Duplicate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/duplicate.md): Create a duplicate of this interval.
- [DuplicateInterval](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/duplicateinterval.md): Create a duplicate of this interval.
- [EmitProxy](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/emitproxy.md): Returns a proxy that represents this interval. Do not call this function unless you're
- [QC_Bool](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-bool.md)
- [QC_Col](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-col.md)
- [QC_CompareTo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-compareto.md)
- [QC_Complex](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-complex.md)
- [QC_Distance](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-distance.md)
- [QC_Hash](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-hash.md)
- [QC_Int](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-int.md)
- [QC_Interval](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-interval.md)
- [QC_Matrix](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-matrix.md)
- [QC_Num](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-num.md)
- [QC_Pt](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-pt.md)
- [QC_Text](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-text.md)
- [QC_Vec](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/qc-vec.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/read.md)
- [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/tostring.md): Format the interval using default grasshopper formatting logic.
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-interval/write.md)

## Inherited Members

- From [GH_Goo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1.md): [m_value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/m-value.md), [Value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/value.md), [ScriptVariable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/scriptvariable.md)
