CogFitLine SetPoint Method Cognex VisionPro 9.20
Set the given point to the new values.

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

public void SetPoint(
	int index,
	double x,
	double y
)
Events

Event TypeReason
CogFitLine Changed

Fires when this function is called.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    index is less than 0 or greater than or equal to NumPoints.

    Remarks

    Set the given point to the new values. This function lets you change the X- and Y-coordinate of a previously added point.

    See Also