Cog3DShapeGeometricOperations AreRealAntiParallel Method (Cog3DLine, Cog3DLine, Double)Cognex VisionPro 9.22
Check whether two lines are anti-parallel within the specified tolerance. It is the caller responsibility to map the shapes to a common 3D space before calling this method.

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

public static bool AreRealAntiParallel(
	Cog3DLine lineA,
	Cog3DLine lineB,
	double epsilon
)

Parameters

lineA
Type: Cognex.VisionPro3D Cog3DLine
The first line. May not be null.
lineB
Type: Cognex.VisionPro3D Cog3DLine
The second line. May not be null.
epsilon
Type: System Double
The tolerance used in checking.

Return Value

Type: Boolean
True if lineA and lineB are anti-parallel within the specified tolerance, false otherwise.
Exceptions

ExceptionCondition
ArgumentNullException If lineA or lineB is null.
ArgumentException If lineA is degenerate or lineB is degenerate.
Remarks

See section of remarks in AreRealParallel(Cog3DLine, Cog3DLine, Double)
See Also