Cog3DRay Constructor (Cog3DVect3, Cog3DVect3, Cog3DRay ParameterizationType, Cog3DShapeStateConstants)Cognex VisionPro
Constructs a Cog3DRay using parameterizationType to interpret v1 and v2.

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

public Cog3DRay(
	Cog3DVect3 v1,
	Cog3DVect3 v2,
	Cog3DRay ParameterizationType parameterizationType,
	Cog3DShapeStateConstants shapeState
)

Parameters

v1
Type: Cognex.VisionPro3D Cog3DVect3
The start point of the ray.
v2
Type: Cognex.VisionPro3D Cog3DVect3
If parameterizationType is Points, then v2 is interpreted as a point along the ray. If parameterizationType is PointAndDirection, then v2 is interpreted as a direction vector.
parameterizationType
Type: Cognex.VisionPro3D Cog3DRay ParameterizationType
Specifies how v1 and v2 are interpreted.
shapeState
Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this ray. Must be Cog3DShapeStateConstants.Vertex or Cog3DShapeStateConstants.Curve.
Exceptions

ExceptionCondition
ArgumentException If shapeState is not Cog3DShapeStateConstants.Vertex or Cog3DShapeStateConstants.Curve.
See Also