Cog3DRangeImageCrossSectionAngleLineLine Execute Method Cognex VisionPro 9.21
Computes the angle between the lines that extend from the two line segments.

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

public override void Execute(
	Cog3DRangeImageCrossSectionProfile profile
)
Events

Event TypeReason
Cognex.VisionPro ICogChangedEvent

Fires when this method is called.

The following state flag may be affected:

  • SfStatus
  • SfAngle
Exceptions

ExceptionCondition
CogSecurityViolationException If licensing for this class cannot be confirmed.
ArgumentNullException If the operator is not in a collection.
Remarks

The status returned can be one of the following:
  • The angle was computed successfully and passed any enabled tolerance checking. Passed
  • The angle was computed successfully but failed tolerance checking. FailedTolerance
  • The operator failed. FailedToMeasure
  • The line segment(s) was/were not found in the collection at run time. InputFeatureMissing
See Also