CogPolygon Convex Property Cognex VisionPro 9.8
True if the polygon is identical to the convex hull of its vertices, otherwise False.

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

public bool Convex { get; }

Property Value

Type: Boolean
Remarks

True if the polygon is identical to the convex hull of its vertices, False otherwise. The convex hull of a polygon is the polygon that would result if you were to stretch a rubber band around the vertices.

A polygon with 0 or 1 vertex is convex.

Default Value: True

See Also