Replace the existing root at the specified
index with the supplied value.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.0.0.0
Syntax
Parameters
- index
- Type: System Int32
The zero -based index at which to replace the root.
- root
- Type: Cognex.VisionPro3D Cog3DPointCloudMeshRoot
The root object to be assigned.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed |
Fires when this method changes the internal state of this object.
The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRange | If index is less than zero or not less than NumRoots. |
| ArgumentNullException | If root is null. |
See Also