Set this transform from the given parameters. Rotation and Skew are in radians.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- scaling
- Type: System Double
The Scaling factor.
- aspect
- Type: System Double
The aspect ratio.
- rotation
- Type: System Double
The angle of Rotation in radians.
- skew
- Type: System Double
The skew angle 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 | scaling is zero. |
| ArgumentException | aspect is zero. |
| ArgumentException | skew is π/2 or −π/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 scaling, aspect, rotation, skew, and/or translation of this transformation object.
See Also