CogPolygon Perimeter Property Cognex VisionPro 9.7
Perimeter of the polygon, in units consistent with the SelectedSpaceName. Zero if there are fewer than 2 vertices.

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

public double Perimeter { get; }

Property Value

Type: Double
Remarks

Perimeter of the polygon, in units consistent with the SelectedSpaceName. The perimeter is the sum of the lengths of all of the segments including the closing the segment from the last vertex to the first vertex. If there are fewer than two vertices, the perimeter is zero.

See Also