Cog3DShapeGeometricOperations ComputeDistance Method Cognex VisionPro 9.8
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.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 75.1.0.0
Syntax

public static double ComputeDistance(
	Cog3DLineSeg lineSegA,
	Cog3DLineSeg lineSegB
)

Return Value

Type: Double
The minimum distance between lineSegA and lineSegB
Exceptions

ExceptionCondition
ArgumentNullException If lineSegA or lineSegB is null.
See Also