Retrieve CenterX,CenterY,Width,Height parameterization.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
public void GetCenterWidthHeight(
out double centerX,
out double centerY,
out double width,
out double height
)
public void GetCenterWidthHeight(
out double centerX,
out double centerY,
out double width,
out double height
)
Public Sub GetCenterWidthHeight (
<OutAttribute> ByRef centerX As Double,
<OutAttribute> ByRef centerY As Double,
<OutAttribute> ByRef width As Double,
<OutAttribute> ByRef height As Double
)
Public Sub GetCenterWidthHeight (
<OutAttribute> ByRef centerX As Double,
<OutAttribute> ByRef centerY As Double,
<OutAttribute> ByRef width As Double,
<OutAttribute> ByRef height As Double
)
public:
void GetCenterWidthHeight(
[OutAttribute] double% centerX,
[OutAttribute] double% centerY,
[OutAttribute] double% width,
[OutAttribute] double% height
)
public:
void GetCenterWidthHeight(
[OutAttribute] double% centerX,
[OutAttribute] double% centerY,
[OutAttribute] double% width,
[OutAttribute] 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.
Returns the x- and y-coordinates of the center and the width and height of this rectangle.