CogPolygon ArcCenter Method Cognex VisionPro 9.8
Compute the center of mass of this polygon as if the mass were uniformly distributed along the perimeter. Generates an error if there are less than two vertices.

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

public void ArcCenter(
	out double x,
	out double y
)

Parameters

x
Type: System Double 

X-coordinate of the center.

y
Type: System Double 

Y-coordinate of the center.

Exceptions

Remarks

Computes the center of mass of this polygon as if the mass were uniformly distributed along the perimeter.

See Also