Cog3DRay Direction Property Cognex VisionPro 9.8 SR1
Gets/sets the direction of this ray. The getter returns a unit vector.

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

public virtual Cog3DVect3 Direction { get; set; }

Property Value

Type: Cog3DVect3
The direction of the ray.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfDirection
  • SfIsDegenerateCurve
Exceptions

ExceptionCondition
ArgumentException If direction3D is degenerate i.e. (0,0,0).
Cog3DException From the getter if the ray is degenerate.
See Also