Query this affine rectangle for its center, length, rotation and skew parameterization. All angles are in radians.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
public void GetCenterLengthsRotationSkew(
out double centerX,
out double centerY,
out double sideXLength,
out double sideYLength,
out double rotation,
out double skew
)
public void GetCenterLengthsRotationSkew(
out double centerX,
out double centerY,
out double sideXLength,
out double sideYLength,
out double rotation,
out double skew
)
Public Sub GetCenterLengthsRotationSkew (
<OutAttribute> ByRef centerX As Double,
<OutAttribute> ByRef centerY As Double,
<OutAttribute> ByRef sideXLength As Double,
<OutAttribute> ByRef sideYLength As Double,
<OutAttribute> ByRef rotation As Double,
<OutAttribute> ByRef skew As Double
)
Public Sub GetCenterLengthsRotationSkew (
<OutAttribute> ByRef centerX As Double,
<OutAttribute> ByRef centerY As Double,
<OutAttribute> ByRef sideXLength As Double,
<OutAttribute> ByRef sideYLength As Double,
<OutAttribute> ByRef rotation As Double,
<OutAttribute> ByRef skew As Double
)
public:
void GetCenterLengthsRotationSkew(
[OutAttribute] double% centerX,
[OutAttribute] double% centerY,
[OutAttribute] double% sideXLength,
[OutAttribute] double% sideYLength,
[OutAttribute] double% rotation,
[OutAttribute] double% skew
)
public:
void GetCenterLengthsRotationSkew(
[OutAttribute] double% centerX,
[OutAttribute] double% centerY,
[OutAttribute] double% sideXLength,
[OutAttribute] double% sideYLength,
[OutAttribute] double% rotation,
[OutAttribute] 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.
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: