Cog3DRangeImageCrossSectionIntersectLineLine SetLineSegmentsUsingOperators Method Cognex VisionPro 9.8 SR1
Sets the name of the operator producing LineSegment1 and LineSegment2.

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

public void SetLineSegmentsUsingOperators(
	Cog3DRangeImageCrossSectionOperatorsParams parentCollection,
	Cog3DRangeImageCrossSectionOperatorBase operator1,
	Cog3DRangeImageCrossSectionOperatorBase operator2
)
Events

Event TypeReason
Cognex.VisionPro ICogChangedEvent

Fires when this method is called.

The following state flag may be affected:

  • SfLineSegment
Exceptions

ExceptionCondition
ArgumentException If operator is not found in the parentCollection provided.
ArgumentNullException If the parentCollection in null.
Remarks

This is a convenience setter for programmatic users to specify the line segments using the operators' objects. The operators are not held internally, they are used to extract the internal unique ids of the operators. The ids are used by this operator at run time.
Remarks

The method can be called before the operator is added to the collection.
See Also