Line SetXYRotation Method Cognex VisionPro 9.22

Sets the line's X and Y reference point and its Rotation in radians from the x-axis. The Rotation is normalized to the range -π to π.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public void SetXYRotation(
	double x,
	double y,
	double rotation
)

Parameters

x
Type: System Double
The x-coordinate of the line's reference point.
y
Type: System Double
The y-coordinate of the line's reference point.
rotation
Type: System Double
The line's rotation, measured in radians from the x-axis.
See Also