Construct this Cog3DCrsp2D3D with the supplied components.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax
Parameters
- cameraIndex
- Type: System Int32
The index of the camera.
- partInstanceIndex
- Type: System Int32
The index of the found part instance (in the image acquired from the specified camera).
- featureModel3DIndex
- Type: System Int32
The index of the corresponding 3D feature within the 3D model feature collection.
- featureModel3DType
- Type: System Type
The type of the corresponding 3D feature. May not be null.
- featureRaw2D
- Type: System Object
The 2D feature(s) corresponding to the subfeature type within the specified 3D model feature. The 2D feature(s) must be in Raw2D space. Note that it can be null to indicate the 2D feature was not found.
- subfeature
- Type: Cognex.VisionPro3D Cog3DSubfeatureConstants
The subfeature type within the 3D feature corresponding to the 2D feature(s).
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If featureModel3DType is null. |
| ArgumentException | If cameraIndex, partInstanceIndex, or featureModel3DIndex is less than 0. |
See Also