Compute the minimum distance between two line segments.
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: 79.0.0.0
Syntax
Parameters
- lineSegA
- Type: Cognex.VisionPro3D Cog3DLineSeg
The first 3D line segment. May not be null.
- lineSegB
- Type: Cognex.VisionPro3D Cog3DLineSeg
The second 3D line segment. May not be null.
Return Value
Type: DoubleThe minimum distance between lineSegA and lineSegB
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If lineSegA or lineSegB is null. |
See Also