Construct this
mesh
root from the supplied position data.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 69.0.0.0
Syntax
Parameters
- width
- Type: System Int32
The number of columns in this mesh root. Must be greater than zero.
- positions
- Type: Cognex.VisionPro3D Cog3DPointCloudAttribute3F
A one dimensional array of points that each specify the X,Y,Z coordinates of a single surface point in storage space along with a validity byte. This array is assumed to be in row-major format where each row holds width many points. This parameter may not be null.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If width is less than one. |
| ArgumentOutOfRangeException | If the number of points is not an even multiple of width. |
| ArgumentNullException | If positions is null. |
| OutOfMemoryException | If sufficient storage cannot be allocated. |
See Also