CogRectangleAffine GetCenterLengthsRotationSkew Method Cognex VisionPro
Query this affine rectangle for its center, length, rotation and skew parameterization. All angles are in radians.

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

public void GetCenterLengthsRotationSkew(
	out double centerX,
	out double centerY,
	out double sideXLength,
	out double sideYLength,
	out double rotation,
	out double skew
)

Parameters

centerX
Type: System Double 

The x-coordinate of the center point.

centerY
Type: System Double 

The y-coordinate of the center point.

sideXLength
Type: System Double 

The length of side x (the side along the x-axis).

sideYLength
Type: System Double 

The length of side y (the side along the y-axis).

rotation
Type: System Double 

The rotation angle in radians.

skew
Type: System Double 

The skew angle in radians.

Remarks

Gets the center point, side x length, side y length, rotation angle, and skew angle of this affine rectangle as shown in the following illustration:

See Also