CogDistanceSegmentEllipseTool EllipseX Property Cognex VisionPro
Returns the X coordinate of the point on the ellipse nearest to the line segment. Valid only if Distance <> 0.

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

public double EllipseX { get; }

Property Value

Type: Double
Remarks

This property is part of a tool wrapper for CogMath.DistanceSegmentEllipse(CogLineSegment, CogEllipse, ICogImage, Double , Double , Double , Double ) so that you can use it in QuickBuild.

If you want to use DistanceSegmentEllipse(CogLineSegment, CogEllipse, ICogImage, Double , Double , Double , Double ) in your application, you should use it directly.

If you are using QuickBuild, you should use the CogDistanceSegmentEllipseTool control in the QuickBuild's Job Editor toolbox.

There is virtually no case in which you should use this property or any part of CogDistanceSegmentEllipseTool directly in your application.

Returns the X coordinate of the first point on the ellipse nearest to the line segment. Valid only if NumPoints >= 2.

See Also