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.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.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(Double, Double) for additional information and illustrations.
See Also