# Region1 struct

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

```cs
[IoId("00000000-E7EB-4FFD-99EC-2EA9F2368B2C")]
public struct Region1 : IStorable, IEquatable<Region1>, IComparable<Region1>
```

A one-dimensional region, or set of intervals on the real number line.

## Constructors

- [Region1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/ctor.md): (2 overloads) Create a region from a single interval.

## Properties

- [Empty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/empty.md): (static) Gets the empty region.
- [Full](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/full.md): (static) Gets the full region covering the entire numberline.
- [IntervalCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/intervalcount.md): Gets the number of defined intervals.
- [IsEmpty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/isempty.md): Gets whether this region1 is entirely empty.
- [IsFull](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/isfull.md): Gets whether this region1 is entirely full.
- [Length](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/length.md): Gets the length of the valid intervals.

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/compareto.md)
- [Contains](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/contains.md): Gets whether a specific value is inside the region intervals.
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/equals.md)
- [FindInterval](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/findinterval.md): Gets the interval index which contains the given value.
- [IntervalBoundaries](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/intervalboundaries.md): Gets the lower and upper boundaries of the interval with the given index.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/store.md): Serialise this Region1.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/tostring.md)
- [ValueAtLength](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/valueatlength.md): (2 overloads) Gets the value as measured from the start of the specified region interval. The length is only measured inside intervals.

## Operators

- [operator +](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/op-addition.md): (2 overloads, static) Create a union of two regions.
- [operator /](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/op-division.md): (static) Divide all region boundaries by some factor.
- [operator *](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/op-multiply.md): (static) Multiply all region boundaries by some factor.
- [operator -](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/op-subtraction.md): (2 overloads, static) Create a difference of two regions.
- [operator -](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/op-unarynegation.md): (static) Negate a Region1.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.region1/op-implicit.md): (3 overloads, static)
