CogTransform2DLinear SetScalingsRotationsTranslation Method Cognex VisionPro 9.5
Set this transform from the given parameters. RotationX and RotationY are in radians.

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

public void SetScalingsRotationsTranslation(
	double scalingX,
	double scalingY,
	double rotationX,
	double rotationY,
	double translationX,
	double translationY
)
Events

Event TypeReason
CogTransform2DLinear Changed

Fires when you use this property to set the x- and y-axis scaling, rotation, or translation.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    scalingX is zero.

    ArgumentException

    scalingY is zero.

    ArgumentException

    rotationY is (rotationX ± π/2) when normalized to the range between π and −π.

    Remarks

    Sets the x- and y-axis scaling, rotation, and/or translation of this transformation object.

    See Also