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.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 83.0.0.0
Syntax
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: BooleanTrue if lineA and lineB are anti-parallel within the specified tolerance, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If lineA or lineB is null. |
| ArgumentException | If lineA is degenerate or lineB is degenerate. |
Remarks
See Also