Gets the line's Distance from the origin and its Rotation in radians from the x-axis. The Distance will be negative if the direction from the origin is reversed.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
Syntax
Parameters
- distance
- Type: System Double
The distance from the origin to the line.
- rotation
- Type: System Double
The line's rotation, measured in radians from the x-axis.
Remarks
Gets the line's distance from the origin and its rotation in radians from the x-axis. The distance is negative if the direction from the origin is reversed. See SetDistanceRotation() for additional information and illustrations.
See Also