Cog3DRangeImageCrossSectionLineSegmentPointPoint Execute Method Cognex VisionPro 9.8
Computes the line segment using 2 points.

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

public override void Execute(
	Cog3DRangeImageCrossSectionProfile profile
)

Parameters

profile
Type: Cognex.VisionPro3D Cog3DRangeImageCrossSectionProfile
The line segment is computed in the profile selected space name.
Events

Event TypeReason
Cognex.VisionPro ICogChangedEvent

Fires when this method is called.

The following state flag may be affected:

  • SfStatus
  • SfLineSegment
  • SfLineSegmentInImage
  • SfLineSegmentInImage3D
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 line segment was computed successfully and passed any enabled tolerance checking. Passed
  • The line segment was computed successfully but failed tolerance checking FailedTolerance
  • The point(s) was/were not found at run time InputFeatureMissing

See Also