M_Rhino_Geometry_Intersect_CurveIntersections_CopyTo - mcneel/rhinocommon-api-docs GitHub Wiki
Copies all intersection results into another array, departing at an index in the target array.
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public void CopyTo(
IntersectionEvent[] array,
int arrayIndex
)
VB
Public Sub CopyTo (
array As IntersectionEvent(),
arrayIndex As Integer
)
- array
- Type: Rhino.Geometry.Intersect.IntersectionEvent[]
The target array. This value cannot be null. - arrayIndex
- Type: System.Int32
Zero-based index in which to start the copy.
ICollection(T).CopyTo(T[], Int32)
Exception | Condition |
---|---|
ArgumentNullException | If array is null. |
ArgumentOutOfRangeException | If arrayIndex is less than 0. |
ArgumentException | If array is multi-dimensional; or if arrayIndex is larger than or equal to the length of this collection; or this collection contains more IntersectionEvents than the ones that can be stored in array after and including arrayIndex. |
Supported in: 6.0.16224.21491, 5D58w