Cog3DLine SetPoints Method Cognex VisionPro 9.23
Sets this line according to the specified 2 points. If the 2 points are coincident, then the line is degenerate, else constructs a line with a direction from pointA3D to pointB3D.

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

public void SetPoints(
	Cog3DVect3 pointA3D,
	Cog3DVect3 pointB3D
)
Events

Event TypeReason
ICogChangedEvent Changed

Fires when some properties change.

The following state flags may be affected:

  • SfDirection
  • SfPointNearestOrigin
  • SfIsDegenerateCurve
See Also