Cog3DVect3Collection CopyTo Method Cognex VisionPro 9.22 SR1
Copies the contained set of Cog3DVect3's into the supplied, previously allocated array of Cog3DVect3's starting at the specified index.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 87.1.0.0
Syntax

public virtual void CopyTo(
	Cog3DVect3[] arr,
	int index
)

Parameters

arr
Type:  Cognex.VisionPro3D Cog3DVect3 
The destination array of type Cog3DVect3. May not be null.
index
Type: System Int32
A zero based index into the destination array at which copying begins.

Implements

ICollection T  CopyTo( T , Int32)
Exceptions

ExceptionCondition
ArgumentNullException If arr is null.
ArgumentOutOfRangeException If the index argument is not valid.
ArgumentException If the supplied array is not of rank 1.
ArgumentException If the supplied array does not have zero based indexing.
ArgumentException If the contained Cog3DVect3 will not fit into the destination array starting at the specified index.
See Also