Cog3DRangeImageCrossSectionExtractCornerV2 Execute Method Cognex VisionPro 9.7
Extracts a corner, and reported its position in the profile selected space name.

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

public override void Execute(
	Cog3DRangeImageCrossSectionProfile profile
)

Parameters

profile
Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionProfile
The corner is extracted and reported in the profile selected space name.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
CogSecurityViolationException If licensing for this class cannot be confirmed.
ArgumentException If the regions selected space name was not found in the profile space tree.
ArgumentException if the LineFitLength when converted to pixels is less than 2 pixels or greater than profile length.
Remarks

The status returned can be one of the following:

  • The corner was extracted successfully and passed any enabled tolerance checking. Passed
  • The corner was extracted successfully but failed tolerance checking FailedTolerance
  • The corner was not extracted because not enough points were found to extract the corner, the corner was below the sharpness threshold or the corner index is outside the range. FeatureNoExtracted

See Also