# BrepCurveList class

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

```cs
public class BrepCurveList : IEnumerable<Curve>
```

Provides access to all the underlying curves in a Brep object.

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepcurvelist/count.md): Gets the number of curves in this list.

## Indexers

- [this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepcurvelist/item.md): Gets the Curve at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepcurvelist/add.md): Adds a curve
- [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepcurvelist/getenumerator.md): Get an enumerator that visits all curves.
- [IEnumerable.GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepcurvelist/system-collections-ienumerable-getenumerator.md): Gets the same enumerator as [BrepCurveList.GetEnumerator()](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.collections.brepcurvelist/getenumerator.md).
