Gets the line's X and Y reference point and its Rotation. The Rotation is measured in radians from the x-axis.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
public void GetXYRotation(
out double x,
out double y,
out double rotation
)
public void GetXYRotation(
out double x,
out double y,
out double rotation
)
Public Sub GetXYRotation (
<OutAttribute> ByRef x As Double,
<OutAttribute> ByRef y As Double,
<OutAttribute> ByRef rotation As Double
)
Public Sub GetXYRotation (
<OutAttribute> ByRef x As Double,
<OutAttribute> ByRef y As Double,
<OutAttribute> ByRef rotation As Double
)
public:
void GetXYRotation(
[OutAttribute] double% x,
[OutAttribute] double% y,
[OutAttribute] double% rotation
)
public:
void GetXYRotation(
[OutAttribute] double% x,
[OutAttribute] double% y,
[OutAttribute] 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.
Gets the x- and y-coordinates of the line's reference point and its rotation. Rotation is measured in radians from the x-axis.