CogIntersectLineLineTool NumPoints Property Cognex VisionPro 9.22
Returns the number of intersection points (-1, 0 or 1).

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

public int NumPoints { get; }

Property Value

Type: Int32
Remarks

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

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

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

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

Returns the number of intersection points (-1, 0 or 1).

See Also