CogDistanceSegmentSegmentTool Distance Property Cognex VisionPro 9.8
Returns the distance computed by the tool.

Namespace: Cognex.VisionPro.Dimensioning
Assembly: Cognex.VisionPro.Dimensioning (in Cognex.VisionPro.Dimensioning.dll) Version: 75.1.0.0
Syntax

public double Distance { get; }

Property Value

Type: Double
Remarks

This property is part of a tool wrapper for CogMath.DistanceSegmentSegment(CogLineSegment, CogLineSegment, ICogImage, Double , Double , Double , Double ) so that you can use it in QuickBuild.

If you want to use DistanceSegmentSegment(CogLineSegment, CogLineSegment, ICogImage, Double , Double , Double , Double ) in your application, you should use it directly.

If you are using QuickBuild, you should use the CogDistanceSegmentSegmentTool control in the QuickBuild's Job Editor toolbox.

There is virtually no case in which you should use this property or any part of CogDistanceSegmentSegmentTool directly in your application.

Returns the distance between the line segments.

See Also