EllipticalArc MethodsCognex VisionPro 9.23

The EllipticalArc type exposes the following members.

Methods

  NameDescription
Public methodCopy

Create a new elliptical arc, copying the specified parameters.

Public methodCopyBase

Copy a graphic and its derived parameters.

(Overrides GraphicInteractiveBase CopyBase(CopyShapeConstants).)
Public methodCreateEllipse

Create a new ellipse shape. The returned ellipse will have the same center, radii, rotation, and unit circle transform as this elliptical arc. Use the CopyFlags to specify what other parts of this shape should be copied into the new one.

Public methodDistanceToPoint

Shortest distance from a boundary of this shape to the given point. Points within closed shapes return a distance less than zero.

Public methodEnclosingRectangle

Minimum enclosing rectangle of this shape.

Public methodEquals
Compares the equality of this object with another.
(Overrides GraphicInteractiveBase Equals(Object).)
Public methodFitToBoundingBox

Adjust the shape's geometric properties so that the shape fits inside passed in rectangle.

Public methodFitToImage

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.

Public methodGetCenterRadiusXYRotationAngleStartAngleSpan

Gets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, and AngleSpan of this elliptical arc. All angles are in radians.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides GraphicInteractiveBase GetHashCode .)
Public methodGetParentFromChildTransform

Gets the parent transform from the child transform.

(Overrides GraphicInteractiveBase GetParentFromChildTransform .)
Public methodGetStartEnd

Gets the start and end point coordinates of this elliptical arc. The start point occurs at the angle given by AngleStart. The end point occurs at the angle given by AngleStart + AngleSpan.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodGetUnitCircleParams

Get a description of this elliptical arc as a unit circular arc and a linear transform that maps it to an elliptical arc. The unit circle arc is centered at (0,0), has a radius of one, and has the provided start angle and span (in radians).

Public methodMap

Maps this shape through the given transform.

Public methodMapLinear

Create a new elliptical arc 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.

Public methodResumeAndRaiseChangedEvent

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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSetCenterRadiusXYRotationAngleStartAngleSpan

Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, and AngleSpan of this elliptical arc. All angles are in radians.

Public methodSetFromUnitCircleParams

Set the geometry of this elliptical arc from the given description of a unit circular arc and the linear transform that maps it to an elliptical arc. 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).

Public methodSuspendChangedEvent

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.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
See Also