An elliptical annulus section is a four-sided shape bounded by two elliptical arcs and two straight lines. The arcs are scaled copies of each other. You specify the 'start' arc and then provide a RadialScale that defines the 'end' arc.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision GraphicInteractiveBase
Cognex.Vision EllipticalAnnulusSection
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
The EllipticalAnnulusSection type exposes the following members.
| Name | Description | |
|---|---|---|
| EllipticalAnnulusSection | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| Copy | Create a new elliptical annulus section, copying the specified parameters. | |
| CopyBase | Copy a graphic and its derived parameters. | |
| CreateEllipticalArc | Create a new elliptical arc (copying the specified parameters) from this annulus section. The arc is specified as a radial fraction between the start and end arcs. For example, specify 0 for the start arc, 0.5 for the center arc, and 1 for the end 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. | |
| GetCenterRadiusXYRotationAngleStartAngleSpanRadialScale | Gets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, AngleSpan, and RadialScale of this elliptical annulus section. | |
| GetHashCode | Returns the hash code of this object. (Overrides GraphicInteractiveBase GetHashCode .) | |
| GetParentFromChildTransform | Gets the parent transform from the child transform. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| GetUnitCircleParams | Get a description of this annulus section as a unit circular arc, a linear transform that maps it to an elliptical arc, and RadialScale. The unit circle arc is centered at (0,0), has a radius of one, and has the given start angle and span (in radians). | |
| Map | Maps this shape through the given transform. | |
| MapLinear | Create a new elliptical annulus section by mapping this one through the given linear transform. Use the CopyFlags to specify what other parts of this shape should be copied into the new one. | |
| 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. | |
| SetCenterRadiusXYRotationAngleStartAngleSpanRadialScale | Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, AngleSpan, and RadialScale of this elliptical annulus section. All angles are in radians. | |
| SetFromUnitCircleParams | Set the geometry of this annulus section from the given unit circular arc, the linear transform that maps it to an elliptical arc, and RadialScale. The unit circle arc is centered at (0,0), has a radius of one, and has the given start angle (in radians) and span (in radians). | |
| 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 EllipticalAnnulusSection objects. | |
| Inequality | Compares the inequality of two EllipticalAnnulusSection objects. |
| Name | Description | |
|---|---|---|
| AngleSpan | Get Returns the angular extent (in radians) and direction of the annulus section. For example, a value of π specifies a section that is one half of the full annulus. A value of -π specifies the other half. | |
| AngleStart | Get Returns the angle (in radians) that specifies the start end of the annulus section. It is measured from the x-axis of the underlying ellipse. | |
| ArcDirectionAdornment | Get Returns the arc direction adornment of this elliptical annulus section. These adornments indicate the direction from the start point of the arc to the end point. | |
| Area | Returns the area enclosed by this elliptical annulus section. | |
| CenterArcAdornment | Get Returns the center arc adornment of this elliptical annulus section. | |
| CenterX | Get Returns the x coordinate of the ellipse center. | |
| CenterY | Get Returns the y coordinate of the ellipse center. | |
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| Children | Children of this graphic. | |
| Color | Color of this graphic. Can be any OLE_COLOR. | |
| DragColor | Color of this graphic when dragged. | |
| DragLineStyle | Line style of the graphic when dragged. | |
| DragLineWidthInScreenPixels | Line width of this graphic when dragged. | |
| 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. | |
| ManipArcFraction | Get Returns the fractional distance (between the start and end arcs) where the manipulation arc is drawn. During interactive manipulation, the shape usually resets this fraction to 0.5 but users may reset it sooner if they desire. | |
| 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. | |
| Perimeter | Returns the total perimeter length of this elliptical annulus section. | |
| RadialDirectionAdornment | Get Returns the radial direction adornment of this elliptical annulus section. These adornments indicate the direction from the start arc to the end arc. | |
| RadialScale | Get Returns the radial scaling factor. The elliptical annulus section contains a 'start' arc, and an 'end' arc that is a scaled copy of it. If RadialScale is greater than 1 the end arc will be larger than the start arc, otherwise it will be smaller. | |
| RadiusX | Get Returns the distance from the center of the start ellipse to its boundary (along the ellipse's x-axis). Note that the start ellipse will be the inner ellipse if RadialScale is greater than one, otherwise it will be the outer one. | |
| RadiusY | Get Returns the distance from the center of the start ellipse to its boundary (along the ellipse's y-axis). Note that the start ellipse will be the inner ellipse if RadialScale is greater than one, otherwise it will be the outer one. | |
| Rotation | Get Returns the rotation angle (in radians) from the x-axis of the selected coordinate space to the x-axis of the ellipse. | |
| 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. | |
| 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. |
An elliptical annulus section is a four-sided shape bounded by two elliptical arcs and two straight lines. The arcs are scaled copies of each other, and the radial lines connect the endpoints of the arcs. You specify the ( CenterX, CenterY ), RadiusX, RadiusY, Rotation, AngleStart and AngleSpan which defines the start arc and then provide a RadialScale that defines the end arc. If the RadialScale is less than 1, the start arc is the outer arc.