CogIntersectSegmentLineTool Segment Property Cognex VisionPro 9.22
Returns or sets the line segment.

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

public CogLineSegment Segment { get; set; }

Property Value

Type: CogLineSegment
Remarks

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

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

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

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

Returns or sets the line segment.

See Also