CogShapePolarize MaintainShapeIntegrity Property Cognex VisionPro 9.8 SR1
If true then the shape will not be broken up into sections due to differing polarities along the shape's boundary. In this case, the MinPolarityPerimeter property is ignored. A primitive shape that is broken up into sections will become a contour.

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

public bool MaintainShapeIntegrity { get; set; }

Property Value

Type: Boolean
Events

Event TypeReason
CogShapePolarize Changed

Fires when this property changes.

The following state flag may be affected:

    Remarks

    If true then the shape will not be broken up into sections due to differing polarities along the shape's boundary. In this case, the MinPolarityPerimeter property is ignored. A primitive shape that is broken up into sections will become a CogGeneralContour.

    If this property is true, then any CogGeneralContour shapes being polarized will be assigned a single polarity value. That is, all the segments of the contour will have the same polarity.

    Default Value: False

    See Also