Gets or sets the location constraint mode. This mode specifies the
range of positions that are allowed for your result.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 73.0.0.0
Syntax
Property Value
Type: Cog3DPatMaxLocationConstraintModeConstantsThe location constraint mode. Default value is None.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is not a member of Cog3DPatMaxLocationConstraintModeConstants. |
Remarks
- Constrain its origin (as reported by the Translation property of the Cog3DTransformRigid returned by GetPose ) to lie within the SearchRegion.
- Constrain all eight corners of the found 3D pattern's bounding box (as returned by the GetBoundingBox method) to lie within the SearchRegion.
- Leave the position of the result completely unconstrained.
See Also