Rectangle GetCenterWidthHeight Method Cognex VisionPro 9.22

Retrieve CenterX,CenterY,Width,Height parameterization.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public void GetCenterWidthHeight(
	out double centerX,
	out double centerY,
	out double width,
	out double height
)

Parameters

centerX
Type: System Double 
The x-coordinate of the center of the rectangle.
centerY
Type: System Double 
The y-coordinate of the center of the rectangle
width
Type: System Double 
The width of the rectangle.
height
Type: System Double 
The height of the rectangle.
Remarks

Returns the x- and y-coordinates of the center and the width and height of this rectangle.

See Also