Set this transform from the given parameters. RotationX and RotationY are in radians.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | scalingX is zero. |
| ArgumentException | scalingY is zero. |
| ArgumentException | rotationY is ( rotationX ± π/2) when normalized to the range between π and −π. |
Remarks
Changed Raised when the transform is changed.
- SfLinear
- SfRotation
- SfScaling
- SfAspect
- SfGetMatrixElement
- SfMatrixDeterminant
- SfRotationX
- SfRotationY
- SfScalingX
- SfScalingY
- SfTranslationX
- SfTranslationY
Remarks
Sets the x- and y-axis scaling, rotation, and/or translation of this transformation object.
See Also