Cog3DRangeImagePlaneEstimator NumPoints Property Cognex VisionPro
Gets or sets the number of 2D locations specified in selected space. The points are used only when FitMethod is set to Points.

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

public int NumPoints { get; set; }

Property Value

Type: Int32
A minimum of 3 points are required to fit a plane. The default is 0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfNumPoints
Exceptions

ExceptionCondition
ArgumentException If the index is less than 0.
OutOfMemoryException When not enough memory available to allocate the number of points specified.
Remarks

The locations are only used when the Fit Method is set to Points.
See Also