Enumeration for the degree of freedom constants of an interactive elliptical arc shape. These constants control how the shape can be manipulated on a display.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | Disables interactive manipulation of the elliptical arc. | |
| EndPoints | 1 | Enables interactive manipulation of both endpoints of the elliptical arc. Notice that changing an endpoint is likely to affect the center, radii, rotation, start and span of the arc, but will not modify the other endpoint. | |
| ArcSpan | 2 | Enables interactive manipulation of the length of the elliptical arc. Either end of the arc can be slid along the underlying ellipse, without changing the ellipse's center, radii or rotation. | |
| Bend | 4 | Enables interactive manipulation of the curvature of the elliptical arc. Notice that changing the curvature is likely to affect the center, radii, rotation, start and span of the arc, but will not modify its endpoints. | |
| ConstrainedSpan | 8 | Enables interactive manipulation of the curvature of the elliptical arc while constraining it to pass through the endpoints and the bend handle. This DOF allows the user to change the fraction of the full ellipse that appears between the arc endpoints. | |
| ArcSpanFourPi | 32 | If interactive manipulation of the arc's span is enabled, setting this bit allows the span to vary between 4 * Pi and -4 * Pi. The limits for interactive manipulation are 2 * Pi and -2 * Pi if this bit is not set. | |
| Position | -2147483648 | Enables interactive manipulation of the X,Y position of the elliptical arc. Changing the position will not affect the radii, rotation, start or span of the arc. | |
| All | -1 | Enables interactive manipulation of all degrees of freedom for the elliptical arc. |
Remarks
Enumeration that describes which degrees of freedom (DOF) are GraphicDOFEnable for an interactive CogEllipticalArc. You can OR these constants to combine different degrees of freedom.
See Also