ICogGeneralContourEllipticalArcSegmentIterator GetStartMidpointEndEllipseFraction Method Cognex VisionPro
Gets StartX, StartY, MidpointX, MidpointY, EndX, EndY, and EllipseFraction of this elliptical arc.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

void GetStartMidpointEndEllipseFraction(
	out double startX,
	out double startY,
	out double midX,
	out double midY,
	out double endX,
	out double endY,
	out double ellipseFraction
)

Parameters

startX
Type: System Double 

X-coordinate of the start point of the arc.

startY
Type: System Double 

Y-coordinate of the start point of the arc.

midX
Type: System Double 

X-coordinate of the midpoint of the arc.

midY
Type: System Double 

Y-coordinate of the midpoint of the arc.

endX
Type: System Double 

X-coordinate of the end point of the arc.

endY
Type: System Double 

Y-coordinate of the end point of the arc.

ellipseFraction
Type: System Double 

The fraction of the ellipse that passes through the start, mid-, and end points. This value must be > 0 and < 1.

Exceptions

Remarks

Gets the start point, midpoint, end point, and ellipse fraction of this elliptical arc.

See Also