ICog3DPointCloudRoot CopyPositionTo Method ( Single , Int32)Cognex VisionPro 9.8 SR1
Copy the position 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.0.0.0
Syntax

void CopyPositionTo(
	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
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