CogTransform2DLinear Aspect Property Cognex VisionPro 9.22
Returns/sets 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.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax

public double Aspect { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogTransform2DLinear Changed

Fires when the aspect changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The new aspect value is zero.

    Remarks

    Sets or gets the aspect of this transformation object. 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.

    Default Value: 1

    See Also