Cog3DRangeImageCrossSectionDistancePointPoint SetPointsUsingOperators Method Cognex VisionPro 9.8 SR1
Sets the name of the operators producing Point1 and Point2.

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

public void SetPointsUsingOperators(
	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:

  • SfPoint1
  • SfPoint2
Exceptions

ExceptionCondition
ArgumentException If operator1 and/or operator2 were not found in the parentCollection provided.
ArgumentNullException If the operator is not in the parentCollection.
Remarks

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

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