ICog3DPointCloudRoot CopyNormalAndValidityTo Method Cognex VisionPro 9.5
Copy the normal attribute data (X, Y, Z coordinates and normal validity values) to the supplied, previously allocated array of Cog3DPointCloudAttribute3F. Writing starts at the specified element of the destination array.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 69.0.0.0
Syntax

void CopyNormalAndValidityTo(
	Cog3DPointCloudAttribute3F[] dest,
	int destStartIndex
)

Parameters

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

ExceptionCondition
InvalidOperationException If HasNormal is false.
ArgumentNullException If dest is null.
ArgumentOutOfRangeException If destStartIndex is not valid.
ArgumentException If dest is not of rank 1.
ArgumentException If dest does not have zero based indexing.
ArgumentException If the requested data will not fit into the destination array starting at the specified index.
See Also