Line GetXYRotation Method Cognex VisionPro 9.22 SR1

Gets the line's X and Y coordinate of the reference point and its Rotation. The Rotation is measured in radians from the x-axis.

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

public void GetXYRotation(
	out double x,
	out double y,
	out 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