# CurveBooleanRegions class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
[Serializable]
public class CurveBooleanRegions : IDisposable
```

Represents the results of a Curve.CreateBooleanRegions calculation.

## Constructors

- [CurveBooleanRegions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/ctor.md): Protected constructor used in serialization.

## Properties

- [PlanarCurveCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/planarcurvecount.md): Returns number of planar curves that were calculated by Curve.CreateBooleanRegions.
- [PointCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/pointcount.md): If this object were created using the Curve.CreateBooleanRegions override that accepts a collection of points as input, then this value will be equal to the length of the points collection.
- [RegionCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/regioncount.md): Returns the number of curve regions. A curve region is a collection of curves that bound a single connected region of the plane.

## Methods

- [BoundaryCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/boundarycount.md): Returns the number of boundary curves in a curve region.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [PlanarCurve](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/planarcurve.md): Returns a planar curve that was calculated by Curve.CreateBooleanRegions.
- [RegionCurves](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/regioncurves.md): Returns the boundary curves in a curve region. A curve region is a collection of curves that bound a single connected region of the plane. Note, the first curve is always the outer boundary.
- [RegionPointIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/regionpointindex.md): If this object were created using the Curve.CreateBooleanRegions override that accepts a collection of points as input, then you this method to retrieve the index of the point contained in a curve region. If this.RegionPointIndex(i) = n, then points[i] is contained in this.RegionCurves(n). If points[i] is not in any region, then this.RegionPointIndex(i) = -1.
- [SegmentCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/segmentcount.md): Returns the number of segments in a boundary curve in a curve region.
- [SegmentDetails](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.curvebooleanregions/segmentdetails.md): Returns the details of a segment in a boundary curve in a curve region.
