Cog3DPatMaxRunParams NumberToFind Property Cognex VisionPro 9.8 SR1
Gets or sets the number of results to search for.

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

public int NumberToFind { get; set; }

Property Value

Type: Int32
The number of results to search for. Default value is 1.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than one.
Remarks

You should set this value to the maximum number of pattern instances that you ever expect to find in your input image. The number of results returned by 3DPatMax will always be less than or equal to the value you specify.

A Cog3DPatMaxResult is returned only if all of the following conditions are met:

See Also