eVision .NET API
Loading...
Searching...
No Matches
eVision.Legacy.ECircleShape Class Reference

Manages a circle shape. More...

Inheritance diagram for eVision.Legacy.ECircleShape:
Collaboration diagram for eVision.Legacy.ECircleShape:

Public Member Functions

 ECircleShape (eVision.Legacy.ECircleShape other)
 Constructs a ECircleShape object.
 ECircleShape ()
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center, float diameter, float originAngle, bool direct)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center, float diameter, float originAngle)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center, float diameter)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center, float diameter, float originAngle, float amplitude)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end, bool fullCircle)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center, eVision.EPoint origin, bool fullCircle)
 Constructs a ECircleShape object.
 ECircleShape (eVision.EPoint center, eVision.EPoint origin)
 Constructs a ECircleShape object.
void SetCenterXY (float centerX, float centerY)
 Sets the x and y coordinates of the center of the ECircleShape.
eVision.EPoint GetPoint (float fraction)
 Returns the coordinates of a particular point specified by its location along the circle arc.
void CopyTo (eVision.Legacy.ECircleShape other, bool recursive)
 Copies all the data of the current ECircleShape object into another ECircleShape object, and returns it.
void CopyTo (eVision.Legacy.ECircleShape other)
 Copies all the data of the current ECircleShape object into another ECircleShape object, and returns it.
void SetFromCenterAndOrigin (eVision.EPoint center, eVision.EPoint origin, bool direct)
 Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.
void SetFromCenterAndOrigin (eVision.EPoint center, eVision.EPoint origin)
 Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.
void SetFromOriginMiddleEnd (eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end, bool fullCircle)
 Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.
void SetFromOriginMiddleEnd (eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end)
 Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.
override void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (eVision.EDrawAdapter graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void DrawWithCurrentPen (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Closest ()
 Find the daughter shape that is the closest to this shape. To retrieve the closest shape, use EShape.ClosestShape.
override bool HitTest (bool bDaughters)
 Checks if there is a handle under the cursor.
override bool HitTest ()
 Checks if there is a handle under the cursor.
override void Drag (int x, int y)
 Moves a handle to a new position and updates the position parameters of the gauge.
override void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
override void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
Public Member Functions inherited from eVision.Legacy.EShape
eVision.Legacy.EShape GetShapeNamed (string name)
 Returns a pointer to a daughter gauge or shape specified by its name.
bool GetFound ()
 Flag indicating whether a measured shape has been found.
bool GetAutoArrange ()
void SetAutoArrange (bool bAutoArrange, bool bDaughters)
void SetAutoArrange (bool bAutoArrange)
virtual void SetFound (bool bFound, bool bDaughters)
virtual void SetFound (bool bFound)
bool GetInspected ()
void SetInspected (bool bFound, bool bDaughters)
void SetInspected (bool bFound)
bool GetPassed ()
void SetPassed (bool bFound, bool bDaughters)
void SetPassed (bool bFound)
bool GetQuickDraw ()
void SetQuickDraw (bool bFound, bool bDaughters)
void SetQuickDraw (bool bFound)
bool GetOptionalDraw ()
void SetOptionalDraw (bool bFound, bool bDaughters)
void SetOptionalDraw (bool bFound)
bool GetUserFlag ()
void SetUserFlag (bool bUserFlag, bool bDaughters)
void SetUserFlag (bool bUserFlag)
bool GetAllocated ()
 Gets the allocated flag.
void EnableBehaviorFilter (eVision.EShapeBehavior behavior, bool value)
 Modifies the so-called behavior filter that is a conjunction of conditions specifying when a shape or a gauge should be displayed or taken into consideration when monitoring the mouse interactions.
void EnableBehaviorFilter (eVision.EShapeBehavior behavior)
 Modifies the so-called behavior filter that is a conjunction of conditions specifying when a shape or a gauge should be displayed or taken into consideration when monitoring the mouse interactions.
void DisableBehaviorFilter (eVision.EShapeBehavior behavior)
 Disables (i.e. removes) a condition from the list of conditions in the behavior filter.
void Attach (eVision.Legacy.EShape mother)
 Attaches the gauge to a mother gauge or shape.
void Detach ()
 Detaches the gauge from its mother gauge or shape.
void DetachDaughters ()
 Detaches the daughter gauges or shapes.
virtual eVision.Legacy.EShape GetDaughter (uint index)
 Returns a pointer to the specified daughter gauge or shape.
bool IsWorld ()
void InvalidateWorld ()
 Invalidates the world shape for this shape and all its ancestors.
eVision.EPoint LocalToSensor (eVision.EPoint LPoint)
 Transforms a point from local coordinates to sensor coordinates.
eVision.EPoint SensorToLocal (eVision.EPoint SPoint)
 Transforms a point from sensor coordinates to local coordinates.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (eVision.EDrawAdapter graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void DrawWithCurrentPen (IntPtr graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void DrawWithCurrentPen (IntPtr graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
virtual void SetZoom (float zoomX, float zoomY)
 Sets the horizontal and vertical zooming factors for drawing operations.
virtual void SetZoom (float zoomX)
 Sets the horizontal and vertical zooming factors for drawing operations.
virtual void SetZoom ()
 Sets the horizontal and vertical zooming factors for drawing operations.
virtual void SetPan (float panX, float panY)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
virtual void SetPan (float panX)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
virtual void SetPan ()
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
bool HitTest (bool bDaughters)
 Checks if there is a handle under the cursor.
bool HitTest ()
 Checks if there is a handle under the cursor.
void SetDraggingMode (eVision.EDraggingMode eDraggingMode, bool bDaughters)
 Sets the dragging mode which defines how the shape could be dragged.
void SetDraggingMode (eVision.EDraggingMode eDraggingMode)
 Sets the dragging mode which defines how the shape could be dragged.
eVision.EDraggingMode GetDraggingMode ()
 Gets the dragging mode which defines how the shape could be dragged.
void SetCursor (int x, int y)
 Sets the cursor current coordinates.
void Drag (int n32CursorX, int n32CursorY)
 Moves a handle to a new position and updates the position parameters of the shape.
void Closest ()
 Find the daughter shape that is the closest to this shape. To retrieve the closest shape, use EShape.ClosestShape.
virtual void Process (eVision.EROIBW8 pSrc, bool bDaughters)
virtual void Process (eVision.EROIBW8 pSrc)
virtual void Process (eVision.EROIBW8 pSrc, eVision.ERegion region, bool bDaughters)
virtual void Process (eVision.EROIBW8 pSrc, eVision.ERegion region)
void Save (string path, bool daughters)
 Loads a Shape.The given ESerializer must have been created for writing.
void Save (string path)
 Loads a Shape.The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer, bool daughters)
 Loads a Shape.The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Loads a Shape.The given ESerializer must have been created for writing.
void Load (string path, bool daughters)
 Loads a Shape.The given ESerializer must have been created for reading.
void Load (string path)
 Loads a Shape.The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer, bool daughters)
 Loads a Shape.The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads a Shape.The given ESerializer must have been created for reading.
bool HasProperty (string aProperty)
 Returns whether a EShape has a property named aProperty.
string GetProperty (string aProperty)
 Gets the value of property aProperty. Throws an exception if no such property exists.
void SetProperty (string aProperty, string aValue)
 Sets the value of property aProperty to aValue for this EShape.
void SetPropertyRecursive (string aProperty, string aValue)
 Sets the value of property aProperty to aValue for this EShape and all of its daughters.
void RemoveProperty (string aProperty)
 Removes the property name aProperty from the EShape.
bool HasValidPolarityProperty ()
 Returns whether the EShape has a valid polarity property.
virtual void EnableTypeFilter (uint un32Types)
 Enables the filter of the specified shape type.
virtual void DisableTypeFilter ()
 Enables all shape types.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by EDrawingMode.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws a graphical representation of a shape, as defined by EDrawingMode.

Properties

float CenterX [get]
 Abscissa of the origin point of the shape.
float CenterY [get]
 Ordinate of the origin point of the shape.
float Angle [get, set]
 The angle of the frame.
float Scale [get, set]
 The scale of the frame.
float Amplitude [get, set]
 Angular amplitude of the ECircleShape object.
eVision.EPoint Apex [get]
 Apex point coordinates of a ECircleShape object.
float ApexAngle [get]
 Angular position at the apex of a ECircleShape object.
float ArcLength [get]
 Circle arc length of a ECircleShape object.
eVision.EPoint Center [get, set]
 Center point of the shape.
float Diameter [get, set]
 Diameter of a ECircleShape object.
bool Direct [get]
 Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation.
eVision.EPoint End [get]
 End point coordinates of a ECircleShape object.
float EndAngle [get]
 Angular position of the end of a ECircleShape object.
bool Full [get]
 Flag indicating whether the ECircleShape object is a full circle or not.
eVision.EPoint Org [get]
 Origin point coordinates of a ECircleShape object.
float OrgAngle [get]
 Angular position from where the ECircleShape object extents.
float Radius [get, set]
 Radius of a ECircleShape object.
override eVision.EShapeType Type [get]
 Shape type.
virtual eVision.Legacy.ECircle Circle [get, set]
 The circle.
Properties inherited from eVision.Legacy.EShape
eVision.EShapeType Type [get]
 Shape type.
string Name [get, set]
 Name of the EShape object.
bool Visible [get, set]
 Flag indicating whether the shape is visible or not.
bool VisibleRecursive [set]
 Sets the flag indicating whether the shape and its daughter shapes are visible or not.
bool Selected [get, set]
 Flag indicating whether the shape is selected or not.
bool SelectedRecursive [set]
 Sets the flag indicating whether the shape and all its daughters are selected or not.
bool Selectable [get, set]
 Flag indicating whether the shape can be selected or not.
bool SelectableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be selected or not.
bool Dragable [get, set]
 Flag indicating whether the shape can be dragged or not.
bool DragableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be dragged or not.
bool Resizable [get, set]
 Flag indicating whether the shape can be resized or not.
bool ResizableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be resized or not.
bool Rotatable [get, set]
 Flag indicating whether the shape can be rotated or not.
bool RotatableRecursive [set]
 Sets the flag indicating whether the shape and all its daughters can be rotated or not.
bool Labeled [get, set]
 Flag indicating whether the shape label should be displayed or not.
bool LabeledRecursive [set]
 Sets the flag indicating whether the shape label should be displayed or not. The flag is set in this shape and all its daughters.
virtual bool Active [get, set]
 Flag indicating whether the shape is active or not.
virtual bool ActiveRecursive [set]
 Sets the flag indicating whether the shape and all its daughters are active or not.
bool ActualShape [get, set]
 Flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true).
bool ActualShapeRecursive [set]
 Sets the flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true). The flag is set in this shape and all its daughters.
uint NumDaughters [get]
 Number of daughters attached to the shape.
eVision.Legacy.EShape Mother [get]
 Pointer to the mother shape.
eVision.Legacy.EWorldShape WorldShape [get]
 World ancestor.
virtual float ZoomX [get]
 Current horizontal zooming factor for drawing operations.
virtual float ZoomY [get]
 Current vertical zooming factor for drawing operations.
virtual float PanX [get]
 Current horizontal panning value for drawing operations, expressed in pixels. By default, no panning occurs.
virtual float PanY [get]
 Current vertical panning value for drawing operations, expressed in pixels. By default, no panning occurs.
eVision.EDragHandle HitHandle [get]
 Handle currently under the cursor.
eVision.Legacy.EShape HitShape [get]
 Pointer to the shape currently under the cursor.
eVision.Legacy.EShape ClosestShape [get]
 Closest shape among the daughters.

Detailed Description

Manages a circle shape.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ECircleShape() [1/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.Legacy.ECircleShape other)

Constructs a ECircleShape object.

Parameters
otherAnother ECircleShape object to be copied in the new ECircleShape object.

◆ ECircleShape() [2/10]

eVision.Legacy.ECircleShape.ECircleShape ( )

Constructs a ECircleShape object.

◆ ECircleShape() [3/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center,
float diameter,
float originAngle,
bool direct )

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
diameterNominal diameter of the circle. The default value is 100.
originAngleNominal angular origin of the circle. The default value is 0.
directtrue (default) means that angles increase anticlockwisely in a direct coordinate system.

◆ ECircleShape() [4/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center,
float diameter,
float originAngle )

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
diameterNominal diameter of the circle. The default value is 100.
originAngleNominal angular origin of the circle. The default value is 0.

◆ ECircleShape() [5/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center,
float diameter )

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
diameterNominal diameter of the circle. The default value is 100.

◆ ECircleShape() [6/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center)

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).

◆ ECircleShape() [7/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center,
float diameter,
float originAngle,
float amplitude )

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
diameterNominal diameter of the circle. The default value is 100.
originAngleNominal angular origin of the circle. The default value is 0.
amplitudeNominal angular amplitude of the circle. The default value is 360.

◆ ECircleShape() [8/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end,
bool fullCircle )

Constructs a ECircleShape object.

Parameters
originOrigin point coordinates of the circle.
middleMiddle point coordinates of the circle.
endEnd point coordinates of the circle.
fullCircletrue (default) in case of a full turn circle. If fullCircle is false, origin and end give the circle's amplitude.

◆ ECircleShape() [9/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center,
eVision.EPoint origin,
bool fullCircle )

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
originOrigin point coordinates of the circle.
fullCircletrue (default) in case of a full turn circle. If fullCircle is false, origin and end give the circle's amplitude.

◆ ECircleShape() [10/10]

eVision.Legacy.ECircleShape.ECircleShape ( eVision.EPoint center,
eVision.EPoint origin )

Constructs a ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
originOrigin point coordinates of the circle.

Member Function Documentation

◆ Closest()

override void eVision.Legacy.ECircleShape.Closest ( )

Find the daughter shape that is the closest to this shape. To retrieve the closest shape, use EShape.ClosestShape.

◆ CopyTo() [1/2]

void eVision.Legacy.ECircleShape.CopyTo ( eVision.Legacy.ECircleShape other)

Copies all the data of the current ECircleShape object into another ECircleShape object, and returns it.

Parameters
otherECircleShape object in which the current ECircleShape object data have to be copied.

In the overload taking a pointer, in case of a NULL pointer, a new ECircleShape object will be created and returned.

◆ CopyTo() [2/2]

void eVision.Legacy.ECircleShape.CopyTo ( eVision.Legacy.ECircleShape other,
bool recursive )

Copies all the data of the current ECircleShape object into another ECircleShape object, and returns it.

Parameters
otherECircleShape object in which the current ECircleShape object data have to be copied.
recursivetrue if the children gauges have to be copied as well, false otherwise.

In the overload taking a pointer, in case of a NULL pointer, a new ECircleShape object will be created and returned.

◆ Drag()

override void eVision.Legacy.ECircleShape.Drag ( int x,
int y )

Moves a handle to a new position and updates the position parameters of the gauge.

Parameters
xCursor current X coordinate.
yCursor current Y coordinate.

◆ Draw() [1/15]

override void eVision.Legacy.ECircleShape.Draw ( eVision.EDrawAdapter graphicContext)

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [2/15]

override void eVision.Legacy.ECircleShape.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.

◆ Draw() [3/15]

override void eVision.Legacy.ECircleShape.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.

◆ Draw() [4/15]

override void eVision.Legacy.ECircleShape.Draw ( IntPtr graphicContext)

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [5/15]

override void eVision.Legacy.ECircleShape.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [6/15]

override void eVision.Legacy.ECircleShape.Draw ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [7/15]

override void eVision.Legacy.ECircleShape.Draw ( IntPtr graphicContext,
eVision.ERGBColor color )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color to draw with.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [8/15]

override void eVision.Legacy.ECircleShape.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color to draw with.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [9/15]

override void eVision.Legacy.ECircleShape.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color to draw with.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [10/15]

override void eVision.Legacy.ECircleShape.Draw ( System.Drawing.Graphics graphicContext)

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [11/15]

override void eVision.Legacy.ECircleShape.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [12/15]

override void eVision.Legacy.ECircleShape.Draw ( System.Drawing.Graphics graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [13/15]

override void eVision.Legacy.ECircleShape.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color to draw with.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [14/15]

override void eVision.Legacy.ECircleShape.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color to draw with.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [15/15]

override void eVision.Legacy.ECircleShape.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color to draw with.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [1/3]

override void eVision.Legacy.ECircleShape.DrawWithCurrentPen ( IntPtr graphicContext)

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [2/3]

override void eVision.Legacy.ECircleShape.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [3/3]

override void eVision.Legacy.ECircleShape.DrawWithCurrentPen ( IntPtr graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by EDrawingMode.

Parameters
graphicContextHandle of the device context on which to draw.
drawingModeIndicates how the point location or model fitting gauge must be displayed, as defined by EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetPoint()

eVision.EPoint eVision.Legacy.ECircleShape.GetPoint ( float fraction)

Returns the coordinates of a particular point specified by its location along the circle arc.

Parameters
fractionPoint location expressed as a fraction of the circle arc (range [-1, +1]).

◆ HitTest() [1/2]

override bool eVision.Legacy.ECircleShape.HitTest ( )

Checks if there is a handle under the cursor.

◆ HitTest() [2/2]

override bool eVision.Legacy.ECircleShape.HitTest ( bool bDaughters)

Checks if there is a handle under the cursor.

Parameters
bDaughtersIndicates if the check must be done in the whole hierarchy or just this object.

◆ SetCenterXY()

void eVision.Legacy.ECircleShape.SetCenterXY ( float centerX,
float centerY )

Sets the x and y coordinates of the center of the ECircleShape.

Parameters
centerXx coordinate of the center
centerYy coordinate of the center

◆ SetFromCenterAndOrigin() [1/2]

void eVision.Legacy.ECircleShape.SetFromCenterAndOrigin ( eVision.EPoint center,
eVision.EPoint origin )

Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
originOrigin point coordinates of the circle.

◆ SetFromCenterAndOrigin() [2/2]

void eVision.Legacy.ECircleShape.SetFromCenterAndOrigin ( eVision.EPoint center,
eVision.EPoint origin,
bool direct )

Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.

Parameters
centerCenter coordinates of the circle at its nominal position. The default value is (0,0).
originOrigin point coordinates of the circle.
directtrue (default) means that angles increase anticlockwise in a direct coordinate system.

◆ SetFromOriginMiddleEnd() [1/2]

void eVision.Legacy.ECircleShape.SetFromOriginMiddleEnd ( eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end )

Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.

Parameters
originOrigin point coordinates of the circle.
middleMiddle point coordinates of the circle.
endEnd point coordinates of the circle.

◆ SetFromOriginMiddleEnd() [2/2]

void eVision.Legacy.ECircleShape.SetFromOriginMiddleEnd ( eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end,
bool fullCircle )

Sets the geometric parameters (nominal position and diameter, angular position and amplitude) of an ECircleShape object.

Parameters
originOrigin point coordinates of the circle.
middleMiddle point coordinates of the circle.
endEnd point coordinates of the circle.
fullCircletrue (default) in case of a full turn circle. If fullCircle is false, origin and end give the circle's amplitude.

Property Documentation

◆ Amplitude

float eVision.Legacy.ECircleShape.Amplitude
getset

Angular amplitude of the ECircleShape object.

The default value is 360. A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

◆ Angle

float eVision.Legacy.ECircleShape.Angle
getset

The angle of the frame.

◆ Apex

eVision.EPoint eVision.Legacy.ECircleShape.Apex
get

Apex point coordinates of a ECircleShape object.

◆ ApexAngle

float eVision.Legacy.ECircleShape.ApexAngle
get

Angular position at the apex of a ECircleShape object.

A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

◆ ArcLength

float eVision.Legacy.ECircleShape.ArcLength
get

Circle arc length of a ECircleShape object.

A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance.

◆ Center

eVision.EPoint eVision.Legacy.ECircleShape.Center
getset

Center point of the shape.

◆ CenterX

float eVision.Legacy.ECircleShape.CenterX
get

Abscissa of the origin point of the shape.

◆ CenterY

float eVision.Legacy.ECircleShape.CenterY
get

Ordinate of the origin point of the shape.

◆ Circle

virtual eVision.Legacy.ECircle eVision.Legacy.ECircleShape.Circle
getset

The circle.

◆ Diameter

float eVision.Legacy.ECircleShape.Diameter
getset

Diameter of a ECircleShape object.

A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance. By default, the diameter is 100, which means 100 pixels when the field of view is not calibrated, and 100 physical units in case of a calibrated field of view.

◆ Direct

bool eVision.Legacy.ECircleShape.Direct
get

Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation.

true (default) means that angles increase anticlockwisely in a direct coordinate system, and clockwisely in an inverse coordinate system.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards.

◆ End

eVision.EPoint eVision.Legacy.ECircleShape.End
get

End point coordinates of a ECircleShape object.

◆ EndAngle

float eVision.Legacy.ECircleShape.EndAngle
get

Angular position of the end of a ECircleShape object.

A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

◆ Full

bool eVision.Legacy.ECircleShape.Full
get

Flag indicating whether the ECircleShape object is a full circle or not.

By default (true), the ECircleShape object is a full circle.

◆ Org

eVision.EPoint eVision.Legacy.ECircleShape.Org
get

Origin point coordinates of a ECircleShape object.

◆ OrgAngle

float eVision.Legacy.ECircleShape.OrgAngle
get

Angular position from where the ECircleShape object extents.

A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance. The sign of the rotation angle depends whether the field of view is calibrated or not.

  • When the field of view is calibrated, the coordinate system is said to be direct, the abscissa extends rightwards and the ordinate extends upwards. In this case, an anticlockwise rotation leads to a positive angle value.
  • When the field of view is not calibrated, the coordinate system is said to be inverse, the abscissa extends rightwards and the ordinate extends downwards. In this case, a clockwise rotation leads to a positive angle value.

◆ Radius

float eVision.Legacy.ECircleShape.Radius
getset

Radius of a ECircleShape object.

A ECircleShape object is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), the angular position from where it extents, its angular amplitude, and its outline tolerance. By default, the radius is 50, which means 50 pixels when the field of view is not calibrated, and 50 physical units in case of a calibrated field of view.

◆ Scale

float eVision.Legacy.ECircleShape.Scale
getset

The scale of the frame.

◆ Type

override eVision.EShapeType eVision.Legacy.ECircleShape.Type
get

Shape type.