CogTransform2DRigid SetRotationTranslation Method Cognex VisionPro 9.24
Set this transform from the given parameters. Rotation is in radians.

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

public void SetRotationTranslation(
	double rotation,
	double translationX,
	double translationY
)

Parameters

rotation
Type: System Double
The rotation in radians.
translationX
Type: System Double
The translation along the x-axis.
translationY
Type: System Double
The translation along the y-axis.
Events

Event TypeReason
ICogChangedEvent ChangedFires when you use this method to set rotation and translation.
See Also