Extract the named parameters from this transform. RotationX and RotationY are in radians.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
public void GetScalingsRotationsTranslation(
out double scalingX,
out double scalingY,
out double rotationX,
out double rotationY,
out double translationX,
out double translationY
)
public void GetScalingsRotationsTranslation(
out double scalingX,
out double scalingY,
out double rotationX,
out double rotationY,
out double translationX,
out double translationY
)
Public Sub GetScalingsRotationsTranslation (
<OutAttribute> ByRef scalingX As Double,
<OutAttribute> ByRef scalingY As Double,
<OutAttribute> ByRef rotationX As Double,
<OutAttribute> ByRef rotationY As Double,
<OutAttribute> ByRef translationX As Double,
<OutAttribute> ByRef translationY As Double
)
Public Sub GetScalingsRotationsTranslation (
<OutAttribute> ByRef scalingX As Double,
<OutAttribute> ByRef scalingY As Double,
<OutAttribute> ByRef rotationX As Double,
<OutAttribute> ByRef rotationY As Double,
<OutAttribute> ByRef translationX As Double,
<OutAttribute> ByRef translationY As Double
)
public:
void GetScalingsRotationsTranslation(
[OutAttribute] double% scalingX,
[OutAttribute] double% scalingY,
[OutAttribute] double% rotationX,
[OutAttribute] double% rotationY,
[OutAttribute] double% translationX,
[OutAttribute] double% translationY
)
public:
void GetScalingsRotationsTranslation(
[OutAttribute] double% scalingX,
[OutAttribute] double% scalingY,
[OutAttribute] double% rotationX,
[OutAttribute] double% rotationY,
[OutAttribute] double% translationX,
[OutAttribute] double% translationY
)
Parameters
- scalingX
- Type: System Double
The scaling factor of the x-axis.
- scalingY
- Type: System Double
The scaling factor of the y-axis.
- rotationX
- Type: System Double
The rotation of the x-axis in radians.
- rotationY
- Type: System Double
The rotation of the y-axis in radians.
- translationX
- Type: System Double
The translation along the x-axis.
- translationY
- Type: System Double
The translation along the y-axis.
Returns the x- and y-axis scaling, rotation, and/or translation of this transformation. Note that each GetScalingsRotationsTranslation(Double , Double , Double , Double , Double , Double ) parameter is optional.