Cog3DCrsp2D3D Constructor (Int32, Int32, Int32, Type, Object, Cog3DSubfeatureConstants)Cognex VisionPro
Construct this Cog3DCrsp2D3D with the supplied components.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax

public Cog3DCrsp2D3D(
	int cameraIndex,
	int partInstanceIndex,
	int featureModel3DIndex,
	Type featureModel3DType,
	Object featureRaw2D,
	Cog3DSubfeatureConstants subfeature
)

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

ExceptionCondition
ArgumentNullException If featureModel3DType is null.
ArgumentException If cameraIndex, partInstanceIndex, or featureModel3DIndex is less than 0.
See Also