Cog3DPointCloudMesh SetRoot Method Cognex VisionPro 9.7
Replace the existing root at the specified index with the supplied value.

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

public void SetRoot(
	int index,
	Cog3DPointCloudMeshRoot root
)
Events

Event TypeReason
ICogChangedEvent Changed Fires when this method changes the internal state of this object.

The following state flags may be affected:

Exceptions

ExceptionCondition
ArgumentOutOfRange If index is less than zero or not less than NumRoots.
ArgumentNullException If root is null.
See Also