Get
Returns the aspect of this transform. Aspect is the ratio of scaling along the y axis over scaling along the x axis. When aspect is set the rotation, skew, and scaling remain unchanged.
Set
Namespace: Cognex.VisionSets Aspect.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax
Property Value
Type: DoubleDefault Value: 1
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The new aspect value is zero. |
Remarks
Aspect is the ratio of scaling along the y-axis over scaling along the x-axis. It is represented by the symbol A in the standard transformation matrix. When Aspect is set, the Rotation, Skew, and Scaling remain unchanged. Notice that if the aspect equals one, then Scaling, ScalingX, and ScalingY are equal.
Remarks
Changed Raised when the value of this property changes.
- SfLinear
- SfRotation
- SfScaling
- SfAspect
- SfGetMatrixElement
- SfMatrixDeterminant
- SfRotationX
- SfRotationY
- SfScalingX
- SfScalingY
- SfTranslationX
- SfTranslationY
See Also