ICog3DPointCloudRoot CopyNormalTo Method ( Single , Int32)Cognex VisionPro 9.8
Copy the normal X, Y, Z coordinates to the supplied, previously allocated array of float.

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

void CopyNormalTo(
	float[] dest,
	int destStartIndex
)

Parameters

dest
Type:  System Single 
The destination array of type float. May not be null.
destStartIndex
Type: System Int32
A zero based index into the destination array at which copying begins. Note that since we are writing three floats per point, the destStartIndex parameter should be a multiple of three, e.g. 0, 3, 6, and so on.
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