A circular arc is a portion of a circle. You specify this shape using the usual circle parameters and two more: AngleStart and AngleSpan. AngleStart defines the angle at which the arc begins and AngleSpan defines the angular extent of the arc.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision GraphicInteractiveBase
Cognex.Vision CircularArc
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
The CircularArc type exposes the following members.
| Name | Description | |
|---|---|---|
| CircularArc | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| Copy | Creates and returns a new circular arc, copying the specified parameters. | |
| CopyBase | Copy a graphic and its derived parameters. | |
| CreateCircle | Creates and returns a new circle shape, copying the specified parameters, that is the full circle defined by this circular arc. | |
| DistanceToPoint | Shortest distance from a boundary of this shape to the given point. Points within closed shapes return a distance less than zero. | |
| EnclosingRectangle | Minimum enclosing rectangle of this shape. | |
| Equals | Compares the equality of this object with another. (Overrides GraphicInteractiveBase Equals(Object).) | |
| FitToBoundingBox | Adjust the shape's geometric properties so that the shape fits inside passed in rectangle. | |
| FitToImage | Adjust the shape's geometric properties such that its default size is based on the image and its SelectedSpaceName. XScale and YScale are multipliers where 1.0 designates 100% scaling. | |
| GetCenterRadiusAngleStartAngleSpan | Gets CenterX, CenterY, Radius, AngleStart, and AngleSpan of this circular arc. | |
| GetHashCode | Returns the hash code of this object. (Overrides GraphicInteractiveBase GetHashCode .) | |
| GetParentFromChildTransform | Gets the parent transform from the child transform. | |
| GetStartEnd | Gets start and end point coordinates of the circular arc. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| Map | Maps this shape through the given transform. | |
| MapLinear | Creates a new elliptical arc (copying the specified parameters) by mapping this circular arc through the given linear transform. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent. | |
| SetCenterRadiusAngleStartAngleSpan | Sets CenterX, CenterY, Radius, AngleStart (in radians) and AngleSpan (in radians) of this circular arc. | |
| SuspendChangedEvent | Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two CircularArc objects. | |
| Inequality | Compares the inequality of two CircularArc objects. |
| Name | Description | |
|---|---|---|
| AngleSpan | Get Gets the angle span (in radians) of this circular arc. Note that this can be positive or negative (but not exactly 0), and implies an arc direction. | |
| AngleStart | Get Gets the start angle (in radians) of this circular arc. | |
| ArcLength | Returns the length of this circular arc. | |
| CenterX | Get Gets the X coordinate of the center of the circle. | |
| CenterY | Get Gets the Y coordinate of the center of the circle. | |
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Children | Children of this graphic. | |
| Color | Color of this graphic. Can be any OLE_COLOR. | |
| DirectionAdornment | Get Gets the arc direction adornment of this circular arc. | |
| DisplayedRadiusInScreenPixels | Get Gets the radius in screen pixels that the arc will be drawn with if DisplayMode is Screen. | |
| DisplayMode | Get Returns the mode in which the arc will be displayed, either with the screen radius (DisplayedRadiusInScreenPixels) or the normal geometric radius (Radius). | |
| DragColor | Color of this graphic when dragged. | |
| DragLineStyle | Line style of the graphic when dragged. | |
| DragLineWidthInScreenPixels | Line width of this graphic when dragged. | |
| EndPointAdornment | Get Returns the end point adornment of this circular arc. | |
| EndX | Returns the x coordinate of the arc end point (the point at the AngleStart + AngleSpan end of the arc). | |
| EndY | Returns the y coordinate of the arc end point (the point at the AngleStart + AngleSpan end of the arc). | |
| FillColor | The fill color of this graphic. | |
| GraphicDOFEnable | Get Interactive Degree of freedom for this graphic object. Provides the ability to govern interactive manipulation of an object; for example could be used to prevent an object from being resized. | |
| GraphicDOFEnableBase | Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type. | |
| Handle | (Overrides GraphicInteractiveBase Handle.) | |
| Interactive | Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object. | |
| LineStyle | Line style of this graphic. | |
| LineWidthInScreenPixels | Line width (in screen pixels) of this graphic. | |
| MidpointX | Returns the x coordinate of the arc mid-point (the point on the arc halfway between 'start' and 'end'). | |
| MidpointY | Returns the y coordinate of the arc mid-point. | |
| MouseCursor | Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive. | |
| Parent | Return a reference to the containing tracking collection. May be null. | |
| Radius | Get Gets the radius of the circle. | |
| Selected | True when the shape is selected in a display. | |
| SelectedColor | Color of this graphic when selected. | |
| SelectedLineStyle | Line style of this graphic when selected. | |
| SelectedLineWidthInScreenPixels | Line width of this graphic when selected. | |
| SelectedSpaceName | Get (Overrides GraphicInteractiveBase SelectedSpaceName.)Coordinate space in which this shape is to be interpreted. | |
| StartPointAdornment | Get Gets the start point adornment of this circular arc. | |
| StartX | Returns the x coordinate of the arc start point (the point at the AngleStart end of the arc). | |
| StartY | Returns the y coordinate of the arc start point (the point at the AngleStart end of the arc). | |
| TipText | Text to describe this graphic in a tool tip. Newline characters can be used to create multi-line tip text. | |
| Visible | Visible property of this graphic. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. | |
| Dragging | Raised when an interactive graphic is being dragged. | |
| DraggingStopped | Raised after the drag operation of an interactive graphic is complete. |
A circular arc is a portion of a circle. You specify this shape using the usual circle parameters and two additional ones: AngleStart, the angle at which the arc begins, and AngleSpan, the angular extent of the arc.