Set the given point to the new values.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax
Parameters
- index
- Type: System Int32
The index (0-based) of the point to change.
- x
- Type: System Double
The new X-coordinate of the point.
- y
- Type: System Double
The new Y-coordinate of the point.
Events
| Event Type | Reason |
|---|---|
| CogFitEllipse Changed | Fires when this function is called. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| 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