Cog3DPointCloudMesh InsertRootAndTransform Method Cognex VisionPro 9.8
Insert the supplied root and storage-from-root transform at the specified index.

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

public void InsertRootAndTransform(
	int index,
	Cog3DPointCloudMeshRoot root,
	ICog3DTransform storageFromRoot
)

Parameters

index
Type: System Int32
The zero -based index at which to insert the supplied root and transform.
root
Type: Cognex.VisionPro3D Cog3DPointCloudMeshRoot
The root object to be inserted.
storageFromRoot
Type: Cognex.VisionPro3D ICog3DTransform
A transform that describes the mapping from the base ("root") of the coordinate space tree to the storage space of the supplied root. object.
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 greater than NumRoots.
ArgumentNullException If either root or storageFromRoot is null.
See Also