# Region class

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

```cs
[IoId("00000000-ac6e-48bd-9ad0-ea8290204877")]
public sealed class Region : IStorable
```

A two-dimensional bounded region with optional holes.

## Constructors

- [Region](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/ctor.md): Deserialization constructor.

## Properties

- [InnerArea](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/innerarea.md): Gets the combined area of all inner hole curves.
- [InnerCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/innercount.md): Gets the total number of holes in all regions.
- [InnerLength](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/innerlength.md): Gets the combined length of all inner hole curves.
- [OuterArea](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/outerarea.md): Gets the combined area of all outer boundary curves.
- [OuterCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/outercount.md): Gets the number of sub-regions.
- [OuterLength](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/outerlength.md): Gets the combined length of all outer boundary curves.
- [Plane](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/plane.md): Gets the plane within which this region is defined.
- [PlaneToWorld3](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/planetoworld3.md): Gets the transform from plane (u,v) coordinates to world (x,y,z) coordinates.
- [WorldToPlane2](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/worldtoplane2.md): Gets the transform from world (x,y,z) coordinates to plane (u,v) coordinates.
- [WorldToPlane3](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/worldtoplane3.md): Gets the transform from world (x,y,z) coordinates to plane (u,v,w) coordinates.

## Methods

- [BooleanDifference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/booleandifference.md): (2 overloads) Use a solid brep to cut holes in this region.
- [BooleanIntersection](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/booleanintersection.md): (2 overloads) Use a solid brep to limit this region.
- [BooleanUnion](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/booleanunion.md): (static) Union two regions. The union happens in the plane of the first region, as such, the order matters.
- [BoundingBox](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/boundingbox.md): Gets the boundingbox of this region after applying a transform to it.
- [Contains](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/contains.md): (2 overloads) Determine the relation between this region and a point in plane (u,v) coordinates.
- [ContainsFast](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/containsfast.md): (2 overloads) Perform much faster but also slightly less accurate point inclusion. The first time this method is called a spatial cache is constructed which speeds up the inclusion testing. So only use this method if you know you'll be using it a lot.
- [CreateFromBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/createfrombrep.md): (2 overloads, static) Convert a Brep with a single face into a region.
- [CreateFromBreps](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/createfrombreps.md): (static)
- [CreateFromCurves](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/createfromcurves.md): (6 overloads, static) Create a region from an outer boundary curve and a list of inner hole curves. If any of the inner curves fully contains the outer curvem, an empty region be created.
- [Empty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/empty.md): (static) Create an empty region.
- [Explode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/explode.md): Explode this region into multiple ones with only a single outer boundary each.
- [FitPlaneToCurves](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/fitplanetocurves.md): (static) Fit a single plane to the control points of a set of curves.
- [IStorable.Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/grasshopperio-istorable-store.md)
- [InnerBounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/innerbounds.md): Gets the bounds (in the 2D canonical plane) of the specified inner boundary.
- [InteriorPoints](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/interiorpoints.md): A method for generating the point distribution on the interior of the region.
- [OuterBounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/outerbounds.md): Gets the bounds (in the 2D canonical plane) of the specified outer boundary.
- [RollingBall](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/rollingball.md): (4 overloads) Computes the part of this region a disk of the given radius can reach while rolling around inside it: convex corners are rounded off and features narrower than the disk disappear. A negative radius rolls the disk around the outside instead and returns the region plus everything outside it the disk cannot get into: concave corners are rounded off and notches narrower than the disk fill up.
- [Slice](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/slice.md): Slice this region along a line.
- [ToBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/tobrep.md): Create a planar brep representing the specified subregion.
- [ToCurve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/tocurve.md): (2 overloads) Create a curve representing the specified inner boundary in 3D.
- [ToCurves](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/tocurves.md): Gets an array of the outer boundary curve plus all associated hole curves for the given sub region.
- [ToHatch](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/tohatch.md): Create a hatch out of the specified subregion.
- [ToMesh](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/tomesh.md): Create a mesh approximating this region.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/tostring.md)
- [Transform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/transform.md): Transform this region.
- [WithoutHoles](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/withoutholes.md): Remove all holes from this region.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.region/op-implicit.md): (2 overloads, static) Convert a circle into a region.
