ICogGeneralContourEllipticalArcSegmentIterator CreateEllipticalArc Method Cognex VisionPro 9.8 SR1
Creates a gcnew CogEllipticalArc with the same geometric and graphics properties as this segment.

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

CogEllipticalArc CreateEllipticalArc()

Return Value

Type: CogEllipticalArc

The elliptical arc.

Exceptions

ExceptionCondition
CogShapeBadContourSegTypeException

The SegmentType is not EllipticalArc

CogIteratorInvalidIteratorException

This iterator is not valid.

ArgumentException

The ellipse fraction is <= 0 or >= 1.

Remarks

Creates a new CogEllipticalArcwith the same geometric and graphics properties as this segment.

See Also