CogCreateSegmentAvgSegsTool GetOutputSegment Method Cognex VisionPro 9.20
Returns a copy of the line segment created by the tool.

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

public CogLineSegment GetOutputSegment()

Return Value

Type: CogLineSegment

The returned line segment.

Remarks

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

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

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

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

Returns the line segment created by the tool.

See Also