Cog3DLine SetPointAndDirection Method Cognex VisionPro 9.10
Sets this line according to the specified point and direction.

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

public void SetPointAndDirection(
	Cog3DVect3 point3D,
	Cog3DVect3 direction3D
)
Events

Event TypeReason
ICogChangedEvent Changed

Fires when some properties change.

The following state flags may be affected:

  • SfDirection
  • SfPointNearestOrigin
  • SfIsDegenerateCurve
Exceptions

ExceptionCondition
ArgumentException if direction3D is a degenerate direction, i.e. (0,0,0).
See Also