Returns/sets the fraction of the ellipse that passes through the start, mid and end points. For slight arcs, using roughly a quarter of the ellipse will usually provide good results. This property must be between 0 and 1 (exclusive).
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax
Property Value
Type: DoubleEvents
| Event Type | Reason |
|---|---|
| CogGeneralContourSegmentIteratorChanged | Fires when the fraction changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| CogShapeBadContourSegTypeException | The SegmentType is not EllipticalArc |
| CogIteratorInvalidIteratorException | This iterator is not valid. |
| ArgumentException | The ellipse fraction is <= 0 or >= 1. |
Remarks
Sets or gets the fraction of the ellipse that passes through the start, mid-, and end points. For slight arcs, using roughly a quarter of the ellipse usually provides good results. This value must be greater than 0 and less than 1.
See Also