CogTransform2DLinear SetScalingAspectRotationSkewTranslation Method Cognex VisionPro
Set this transform from the given parameters. Rotation and Skew are in radians.

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

public void SetScalingAspectRotationSkewTranslation(
	double scaling,
	double aspect,
	double rotation,
	double skew,
	double translationX,
	double translationY
)
Events

Event TypeReason
CogTransform2DLinear Changed

Fires when you use this property to set the scaling, aspect, rotation, skew, or translation.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    scaling is zero.

    ArgumentException

    aspect is zero.

    ArgumentException

    skew is π/2 or −π/2 (when normalized to the range between π and −π).

    Remarks

    Sets the scaling, aspect, rotation, skew, and/or translation of this transformation object.

    See Also