# CurveIntersections class

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

```cs
public class CurveIntersections : IDisposable, IList<IntersectionEvent>
```

Maintains an ordered list of Curve Intersection results.

## Finalizer

- [~CurveIntersections](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/finalize.md): Destructor.

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/count.md): Gets the number of recorded intersection events.
- [ICollection<IntersectionEvent>.IsReadOnly](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-icollection-rhino-geometry-intersect-intersectionevent-isreadonly.md): This collection is read-only, so this property returns always true.

## Indexers

- [IList<IntersectionEvent>.this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-ilist-rhino-geometry-intersect-intersectionevent-this.md): Gets the intersection event data at the given index; setting always throws an exception.
- [this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/item.md): Gets the intersection event data at the given index.

## Methods

- [CopyTo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/copyto.md): Copies all intersection results into another array, departing at an index in the target array.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/getenumerator.md): Returns an enumerator that is capable of yielding all IntersectionEvents in the collection.
- [ICollection<IntersectionEvent>.Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-icollection-rhino-geometry-intersect-intersectionevent-add.md): Addition is not supported and this method always throws NotSupportedException.
- [ICollection<IntersectionEvent>.Clear](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-icollection-rhino-geometry-intersect-intersectionevent-clear.md): Clearing is not supported and this method always throws NotSupportedException.
- [ICollection<IntersectionEvent>.Contains](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-icollection-rhino-geometry-intersect-intersectionevent-contains.md): Allows to establish whether this collection contains and IntersectionEvent. This method is O(n), where n is the Count of elements in this collection.
- [ICollection<IntersectionEvent>.Remove](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-icollection-rhino-geometry-intersect-intersectionevent-remove.md): Removal is not supported and this method always throws NotSupportedException.
- [IList<IntersectionEvent>.IndexOf](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-ilist-rhino-geometry-intersect-intersectionevent-indexof.md): Determines the index of an IntersectionEvent.
- [IList<IntersectionEvent>.Insert](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-ilist-rhino-geometry-intersect-intersectionevent-insert.md): Inserting is not supported and this method always throws NotSupportedException.
- [IList<IntersectionEvent>.RemoveAt](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-generic-ilist-rhino-geometry-intersect-intersectionevent-removeat.md): Removal is not supported and this method always throws NotSupportedException.
- [IEnumerable.GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.curveintersections/system-collections-ienumerable-getenumerator.md): Returns a non-generic enumerator that is capable of yielding all IntersectionEvents in the collection. This returns the same enumerator as the generic counterpart.
