Cog3DRangeImageCrossSectionNearestPoint SetLineSegmentPointUsingOperators Method Cognex VisionPro 9.22 SR1
Sets the name of the operators producing LineSegment and Point.

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

public void SetLineSegmentPointUsingOperators(
	Cog3DRangeImageCrossSectionOperatorsParams parentCollection,
	Cog3DRangeImageCrossSectionOperatorBase lineSegOp,
	Cog3DRangeImageCrossSectionOperatorBase pointOp
)
Events

Event TypeReason
Cognex.VisionPro ICogChangedEvent

Fires when this method is called.

The following state flag may be affected:

  • SfLineSegment
  • SfPoint
Exceptions

ExceptionCondition
ArgumentException If lineSegOp and/or pointOp were 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 segment and the point 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