CogFitLine NumPoints Property Cognex VisionPro
The number of points that will be considered for the fit.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public int NumPoints { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogFitLine Changed

Fires when this function is called.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The supplied value is less than zero.

    Remarks

    The number of points that will be considered for the fit. If you increase the value of NumPoints, the newly added points are set to (0, 0) and placed at the end of the list. If you decrease the value of NumPoints, points are removed from the end of the list.

    See Also