CircularAnnulusSection GetCornerWidthHeightRotationCurve Method Cognex VisionPro 9.22

Gets corner, width, height, rotation and curvature of the circular annulus section.

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

public void GetCornerWidthHeightRotationCurve(
	out double cornerX,
	out double cornerY,
	out double width,
	out double height,
	out double rotation,
	out double curve
)

Parameters

cornerX
Type: System Double 
The x-coordinate of the origin corner of this circular annulus section.
cornerY
Type: System Double 
The y-coordinate of the origin corner of this circular annulus section.
width
Type: System Double 
The width of this circular annulus section. It is the length of the arc that lies halfway between the inner and outer arcs. It is always positive.
height
Type: System Double 
The height of this circular annulus section. It is the signed distance between the inner and outer arcs. If the curve is positive, the height is positive when the vector from the origin corner to the other arc points away from the circle center. If the curve is negative, the height is positive when the vector points towards the circle center.
rotation
Type: System Double 
The rotation (in radians from the x-axis towards the y-axis) of the circular annulus section. This is the angle of the vector from the circle center to the origin corner. Equivalent to angleStart.
curve
Type: System Double 
The angular span (in radians from the x-axis towards the y-axis) of the circular annulus section. It measures the angle (about the circle center) traversed by the circular arc as you move from the origin corner to the other end of the arc. This signed angle is equivalent to angleSpan.
See Also