M_Rhino_Geometry_Intersect_CurveIntersections_CopyTo - mcneel/rhinocommon-api-docs GitHub Wiki

CurveIntersections.CopyTo Method

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

Syntax

C#

public void CopyTo(
	IntersectionEvent[] array,
	int arrayIndex
)

VB

Public Sub CopyTo ( 
	array As IntersectionEvent(),
	arrayIndex As Integer
)

Parameters

 

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.

Implements

ICollection(T).CopyTo(T[], Int32)

Exceptions

 

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.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

CurveIntersections Class
Rhino.Geometry.Intersect Namespace

⚠️ **GitHub.com Fallback** ⚠️