Cog3DLine Constructor (Cog3DVect3, Cog3DVect3, Cog3DLine ParameterizationType)Cognex VisionPro 9.8
Constructs a Cog3DLine using parameterizationType to interpret v1 and v2. If parameterizationType is Points and v1 is equal to v2, then the line is degenerate.

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

public Cog3DLine(
	Cog3DVect3 v1,
	Cog3DVect3 v2,
	Cog3DLine ParameterizationType parameterizationType
)

Parameters

v1
Type: Cognex.VisionPro3D Cog3DVect3
A point on the line.
v2
Type: Cognex.VisionPro3D Cog3DVect3
If parameterizationType is Points, then v2 is interpreted as a point on the line and the line's direction is from v1 to v2. If parameterizationType is PointAndDirection, then v2 is interpreted as a direction vector and will be normalized to a unit vector.
parameterizationType
Type: Cognex.VisionPro3D Cog3DLine ParameterizationType
Specifies how v1 and v2 are interpreted.
Exceptions

ExceptionCondition
ArgumentException If parameterizationType is PointAndDirection and v2 is a degenerate direction i.e. (0,0,0).
See Also