Cog3DRangeImageCrossSectionAreaOperatorBase Execute Method Cognex VisionPro
Compute the area between the input profile and the reference profile.

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

public override sealed void Execute(
	Cog3DRangeImageCrossSectionProfile profile
)

Parameters

profile
Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionProfile
The area and the points of interest and reported in the profile selected space name.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this method is called.

The following state flag may be affected:

  • SfStatus
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.
Remarks

The status returned can be one of the following:

  • The measurement was successful and passed any enabled tolerance checking. Passed
  • The measurement was successful but failed tolerance checking FailedTolerance
  • The measurement was not successful for any reason. FailedToMeasure

See Also