eVision Python API
Loading...
Searching...
No Matches
eVision.Legacy.EWedgeShape Class Reference

Manages a wedge shape. More...

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

Public Member Functions

None SetCenterXY (self, float centerX, float centerY)
 Sets the center coordinates of a eVision.Legacy.EWedgeShape object.
None CopyTo (self, eVision.Legacy.EWedgeShape dest, bool bRecursive)
 Copies all the data of the current eVision.Legacy.EWedgeShape object into another eVision.Legacy.EWedgeShape object and returns it.
None CopyTo (self, eVision.Legacy.EWedgeShape dest)
 Copies all the data of the current eVision.Legacy.EWedgeShape object into another eVision.Legacy.EWedgeShape object and returns it.
None SetFromCenterAndOrigin (self, eVision.EPoint center, eVision.EPoint origin, float breadth, bool direct)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromCenterAndOrigin (self, eVision.EPoint center, eVision.EPoint origin, float breadth)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromCenterAndOrigin (self, eVision.EPoint center, eVision.EPoint origin)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromTwoPoints (self, eVision.EPoint center, eVision.EPoint origin, float breadth, bool direct)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromTwoPoints (self, eVision.EPoint center, eVision.EPoint origin, float breadth)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromTwoPoints (self, eVision.EPoint center, eVision.EPoint origin)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromOriginMiddleEnd (self, eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end, float breadth, bool fullCircle)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromOriginMiddleEnd (self, eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end, float breadth)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetFromOriginMiddleEnd (self, eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end)
 Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.
None SetRadii (self, float outerRadius, float breadth)
 Sets the nominal radius and breadth of the eVision.Legacy.EWedgeShape.
None SetRadii (self, float outerRadius)
 Sets the nominal radius and breadth of the eVision.Legacy.EWedgeShape.
None SetDiameters (self, float diameter, float breadth)
 Sets the nominal inner/outer diameter and breadth of the eVision.Legacy.EWedgeShape.
None SetDiameters (self, float diameter)
 Sets the nominal inner/outer diameter and breadth of the eVision.Legacy.EWedgeShape.
eVision.EPoint GetInnerPoint (self, float fraction)
 Returns the coordinates of a particular point specified by its location along the inner circle arc.
eVision.EPoint GetOuterPoint (self, float fraction)
 Returns the coordinates of a particular point specified by its location along the outter circle arc.
eVision.EPoint GetPoint (self, float breadthFraction, float angleFraction)
 Returns the coordinates of a particular point specified by its location along the wedge perimeter.
None GetMidEdges (self, eVision.EPoint a, eVision.EPoint AA, eVision.EPoint r, eVision.EPoint RR)
 Retrieves the center coordinates of each edge of the wedge fitting gauge.
None GetCorners (self, eVision.EPoint ar, eVision.EPoint AAr, eVision.EPoint aRR, eVision.EPoint AARR)
 Retrieves the coordinates of each corner of the eVision.Legacy.EWedgeShape.
None GetEdges (self, eVision.Legacy.ELine a, eVision.Legacy.ELine AA, eVision.Legacy.ECircle r, eVision.Legacy.ECircle RR)
 Retrieves each edge of the eVision.Legacy.EWedgeShape.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EDrawingMode drawingMode, bool daughters)
 Draws a graphical representation of a shape, as defined by eVision.EDrawingMode.
None Draw (self, eVision.EDrawAdapter|None graphicContext, eVision.EDrawingMode drawingMode)
 Draws a graphical representation of a shape, as defined by eVision.EDrawingMode.
None Draw (self, eVision.EDrawAdapter|None graphicContext)
 Draws a graphical representation of a shape, as defined by eVision.EDrawingMode.
None Closest (self)
 Find the daughter shape that is the closest to this shape.
bool HitTest (self, bool bDaughters)
 Checks if there is a handle under the cursor.
bool HitTest (self)
 Checks if there is a handle under the cursor.
None Drag (self, int n32CursorX, int n32CursorY)
 Moves a handle to a new position and updates the position parameters of the shape.
eVision.EPoint Center (self)
 Center point of the shape.
 Center (self, eVision.EPoint value)
 Center point of the shape.
float CenterX (self)
 Abscissa of the origin point of the shape.
float CenterY (self)
 Ordinate of the origin point of the shape.
float Angle (self)
 Orientation of the shape.
 Angle (self, float value)
 Orientation of the shape.
float Scale (self)
 Horizontal sensor resolution, in pixels per unit.
 Scale (self, float value)
 Horizontal sensor resolution, in pixels per unit.
eVision.EShapeType Type (self)
 Shape type.
float Amplitude (self)
 Angular amplitude of the eVision.Legacy.EWedgeShape.
 Amplitude (self, float value)
 Angular amplitude of the eVision.Legacy.EWedgeShape.
float InnerDiameter (self)
 Inner diameter of the eVision.Legacy.EWedgeShape.
float OuterDiameter (self)
 Outer diameter of the eVision.Legacy.EWedgeShape.
float InnerRadius (self)
 Inner radius of the eVision.Legacy.EWedgeShape.
float OuterRadius (self)
 Outer radius of the eVision.Legacy.EWedgeShape.
float Breadth (self)
 Breadth of the eVision.Legacy.EWedgeShape.
float InnerArcLength (self)
 Inner circle arc length of the eVision.Legacy.EWedgeShape.
float OuterArcLength (self)
 Outer circle arc length of the eVision.Legacy.EWedgeShape.
float OrgAngle (self)
 Angular position from where the eVision.Legacy.EWedgeShape extents.
float ApexAngle (self)
 Angular position at the apex of the eVision.Legacy.EWedgeShape.
float EndAngle (self)
 Ending angular position of the eVision.Legacy.EWedgeShape.
eVision.EPoint InnerOrg (self)
 Inner origin point coordinates of the eVision.Legacy.EWedgeShape.
eVision.EPoint InnerApex (self)
 Inner apex point coordinates of the eVision.Legacy.EWedgeShape.
eVision.EPoint InnerEnd (self)
 Inner end point coordinates of the eVision.Legacy.EWedgeShape.
eVision.EPoint OuterOrg (self)
 Outer origin point coordinates of the eVision.Legacy.EWedgeShape.
eVision.EPoint OuterApex (self)
 Outer apex point coordinates of the eVision.Legacy.EWedgeShape.
eVision.EPoint OuterEnd (self)
 Outer end point coordinates of the eVision.Legacy.EWedgeShape.
bool FullBreadth (self)
 Flag indicating if the eVision.Legacy.EWedgeShape has a full breadth (breadth = radius).
bool FullCircle (self)
 Flag indicating if the eVision.Legacy.EWedgeShape is a full circle (amplitude = 2 PI).
bool Direct (self)
 Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation.
 Direct (self, bool value)
 Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation.
Public Member Functions inherited from eVision.Legacy.EShape
eVision.Legacy.EShape|None GetShapeNamed (self, str name)
 Returns a pointer to a daughter gauge or shape specified by its name.
bool GetFound (self)
 Flag indicating whether a measured shape has been found.
bool GetAutoArrange (self)
None SetAutoArrange (self, bool bAutoArrange, bool bDaughters)
None SetAutoArrange (self, bool bAutoArrange)
None SetFound (self, bool bFound, bool bDaughters)
None SetFound (self, bool bFound)
bool GetInspected (self)
None SetInspected (self, bool bFound, bool bDaughters)
None SetInspected (self, bool bFound)
bool GetPassed (self)
None SetPassed (self, bool bFound, bool bDaughters)
None SetPassed (self, bool bFound)
bool GetQuickDraw (self)
None SetQuickDraw (self, bool bFound, bool bDaughters)
None SetQuickDraw (self, bool bFound)
bool GetOptionalDraw (self)
None SetOptionalDraw (self, bool bFound, bool bDaughters)
None SetOptionalDraw (self, bool bFound)
bool GetUserFlag (self)
None SetUserFlag (self, bool bUserFlag, bool bDaughters)
None SetUserFlag (self, bool bUserFlag)
bool GetAllocated (self)
 Gets the allocated flag.
None EnableBehaviorFilter (self, 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.
None EnableBehaviorFilter (self, 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.
None DisableBehaviorFilter (self, eVision.EShapeBehavior behavior)
 Disables (i.e.
None Attach (self, eVision.Legacy.EShape|None mother)
 Attaches the gauge to a mother gauge or shape.
None Detach (self)
 Detaches the gauge from its mother gauge or shape.
None DetachDaughters (self)
 Detaches the daughter gauges or shapes.
eVision.Legacy.EShape|None GetDaughter (self, int index)
 Returns a pointer to the specified daughter gauge or shape.
bool IsWorld (self)
None InvalidateWorld (self)
 Invalidates the world shape for this shape and all its ancestors.
eVision.EPoint LocalToSensor (self, eVision.EPoint LPoint)
 Transforms a point from local coordinates to sensor coordinates.
eVision.EPoint SensorToLocal (self, eVision.EPoint SPoint)
 Transforms a point from sensor coordinates to local coordinates.
None SetZoom (self, float zoomX, float zoomY)
 Sets the horizontal and vertical zooming factors for drawing operations.
None SetZoom (self, float zoomX)
 Sets the horizontal and vertical zooming factors for drawing operations.
None SetZoom (self)
 Sets the horizontal and vertical zooming factors for drawing operations.
None SetPan (self, float panX, float panY)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
None SetPan (self, float panX)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
None SetPan (self)
 Sets the horizontal and vertical panning values for drawing operations, expressed in pixels.
None SetDraggingMode (self, eVision.EDraggingMode eDraggingMode, bool bDaughters)
 Sets the dragging mode which defines how the shape could be dragged.
None SetDraggingMode (self, eVision.EDraggingMode eDraggingMode)
 Sets the dragging mode which defines how the shape could be dragged.
eVision.EDraggingMode GetDraggingMode (self)
 Gets the dragging mode which defines how the shape could be dragged.
None SetCursor (self, int x, int y)
 Sets the cursor current coordinates.
None Process (self, eVision.EROIBW8|None pSrc, bool bDaughters)
None Process (self, eVision.EROIBW8|None pSrc)
None Process (self, eVision.EROIBW8|None pSrc, eVision.ERegion region, bool bDaughters)
None Process (self, eVision.EROIBW8|None pSrc, eVision.ERegion region)
None Save (self, str path, bool daughters)
 Loads a Shape.The given eVision.ESerializer must have been created for writing.
None Save (self, str path)
 Loads a Shape.The given eVision.ESerializer must have been created for writing.
None Save (self, eVision.ESerializer|None serializer, bool daughters)
 Loads a Shape.The given eVision.ESerializer must have been created for writing.
None Save (self, eVision.ESerializer|None serializer)
 Loads a Shape.The given eVision.ESerializer must have been created for writing.
None Load (self, str path, bool daughters)
 Loads a Shape.The given eVision.ESerializer must have been created for reading.
None Load (self, str path)
 Loads a Shape.The given eVision.ESerializer must have been created for reading.
None Load (self, eVision.ESerializer|None serializer, bool daughters)
 Loads a Shape.The given eVision.ESerializer must have been created for reading.
None Load (self, eVision.ESerializer|None serializer)
 Loads a Shape.The given eVision.ESerializer must have been created for reading.
bool HasProperty (self, str aProperty)
 Returns whether a eVision.Legacy.EShape has a property named aProperty.
str GetProperty (self, str aProperty)
 Gets the value of property aProperty.
None SetProperty (self, str aProperty, str aValue)
 Sets the value of property aProperty to aValue for this eVision.Legacy.EShape.
None SetPropertyRecursive (self, str aProperty, str aValue)
 Sets the value of property aProperty to aValue for this eVision.Legacy.EShape and all of its daughters.
None RemoveProperty (self, str aProperty)
 Removes the property name aProperty from the eVision.Legacy.EShape.
bool HasValidPolarityProperty (self)
 Returns whether the eVision.Legacy.EShape has a valid polarity property.
None EnableTypeFilter (self, int un32Types)
 Enables the filter of the specified shape type.
None DisableTypeFilter (self)
 Enables all shape types.
str Name (self)
 Name of the eVision.Legacy.EShape object.
 Name (self, str value)
 Name of the eVision.Legacy.EShape object.
bool Visible (self)
 Flag indicating whether the shape is visible or not.
 Visible (self, bool value)
 Flag indicating whether the shape is visible or not.
bool Selected (self)
 Flag indicating whether the shape is selected or not.
 Selected (self, bool value)
 Flag indicating whether the shape is selected or not.
bool Selectable (self)
 Flag indicating whether the shape can be selected or not.
 Selectable (self, bool value)
 Flag indicating whether the shape can be selected or not.
bool Dragable (self)
 Flag indicating whether the shape can be dragged or not.
 Dragable (self, bool value)
 Flag indicating whether the shape can be dragged or not.
bool Resizable (self)
 Flag indicating whether the shape can be resized or not.
 Resizable (self, bool value)
 Flag indicating whether the shape can be resized or not.
bool Rotatable (self)
 Flag indicating whether the shape can be rotated or not.
 Rotatable (self, bool value)
 Flag indicating whether the shape can be rotated or not.
bool Labeled (self)
 Flag indicating whether the shape label should be displayed or not.
 Labeled (self, bool value)
 Flag indicating whether the shape label should be displayed or not.
bool Active (self)
 Flag indicating whether the shape is active or not.
 Active (self, bool value)
 Flag indicating whether the shape is active or not.
bool ActualShape (self)
 Flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true).
 ActualShape (self, bool value)
 Flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true).
int NumDaughters (self)
 Number of daughters attached to the shape.
eVision.Legacy.EShape|None Mother (self)
 Pointer to the mother shape.
eVision.Legacy.EWorldShape|None WorldShape (self)
 World ancestor.
float ZoomX (self)
 Current horizontal zooming factor for drawing operations.
float ZoomY (self)
 Current vertical zooming factor for drawing operations.
float PanX (self)
 Current horizontal panning value for drawing operations, expressed in pixels.
float PanY (self)
 Current vertical panning value for drawing operations, expressed in pixels.
eVision.EDragHandle HitHandle (self)
 Handle currently under the cursor.
eVision.Legacy.EShape|None HitShape (self)
 Pointer to the shape currently under the cursor.
eVision.Legacy.EShape|None ClosestShape (self)
 Closest shape among the daughters.

Protected Member Functions

 _Wedge__setter (self, eVision.Legacy.EWedge value)
 Sets the nominal position, length and rotation angle of the wedge according to a known eVision.Legacy.EWedge object.
Protected Member Functions inherited from eVision.Legacy.EShape
 _VisibleRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and its daughter shapes are visible or not.
 _SelectedRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and all its daughters are selected or not.
 _SelectableRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and all its daughters can be selected or not.
 _DragableRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and all its daughters can be dragged or not.
 _ResizableRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and all its daughters can be resized or not.
 _RotatableRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and all its daughters can be rotated or not.
 _LabeledRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape label should be displayed or not.
 _ActiveRecursive__setter (self, bool value)
 Sets the flag indicating whether the shape and all its daughters are active or not.
 _ActualShapeRecursive__setter (self, bool value)
 Sets the flag indicating whether an inquiry returns a result pertaining to the nominal gauge (false, default) or the fitted model (true).

Properties

 Wedge
Properties inherited from eVision.Legacy.EShape
 VisibleRecursive
 SelectedRecursive
 SelectableRecursive
 DragableRecursive
 ResizableRecursive
 RotatableRecursive
 LabeledRecursive
 ActiveRecursive
 ActualShapeRecursive

Detailed Description

Manages a wedge shape.

Remarks:

License(s): BasicTypes

Member Function Documentation

◆ _Wedge__setter()

eVision.Legacy.EWedgeShape._Wedge__setter ( self,
eVision.Legacy.EWedge value )
protected

Sets the nominal position, length and rotation angle of the wedge according to a known eVision.Legacy.EWedge object.

Reimplemented in eVision.Legacy.EWedgeGauge.

◆ Amplitude() [1/2]

float eVision.Legacy.EWedgeShape.Amplitude ( self)

Angular amplitude of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, 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.

◆ Amplitude() [2/2]

eVision.Legacy.EWedgeShape.Amplitude ( self,
float value )

Angular amplitude of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, 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() [1/2]

float eVision.Legacy.EWedgeShape.Angle ( self)

Orientation of the shape.

◆ Angle() [2/2]

eVision.Legacy.EWedgeShape.Angle ( self,
float value )

Orientation of the shape.

◆ ApexAngle()

float eVision.Legacy.EWedgeShape.ApexAngle ( self)

Angular position at the apex of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, 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.

◆ Breadth()

float eVision.Legacy.EWedgeShape.Breadth ( self)

Breadth of the eVision.Legacy.EWedgeShape.

Remarks:

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

◆ Center() [1/2]

eVision.EPoint eVision.Legacy.EWedgeShape.Center ( self)

Center point of the shape.

◆ Center() [2/2]

eVision.Legacy.EWedgeShape.Center ( self,
eVision.EPoint value )

Center point of the shape.

◆ CenterX()

float eVision.Legacy.EWedgeShape.CenterX ( self)

Abscissa of the origin point of the shape.

◆ CenterY()

float eVision.Legacy.EWedgeShape.CenterY ( self)

Ordinate of the origin point of the shape.

◆ Closest()

None eVision.Legacy.EWedgeShape.Closest ( self)

Find the daughter shape that is the closest to this shape.

To retrieve the closest shape, use eVision.Legacy.EShape.ClosestShape.

Reimplemented from eVision.Legacy.EShape.

◆ CopyTo() [1/2]

None eVision.Legacy.EWedgeShape.CopyTo ( self,
eVision.Legacy.EWedgeShape dest )

Copies all the data of the current eVision.Legacy.EWedgeShape object into another eVision.Legacy.EWedgeShape object and returns it.

Remarks:

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

Parameters
destPointer to the eVision.Legacy.EWedgeShape object in which the current eVision.Legacy.EWedgeShape object data have to be copied.

Reimplemented in eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ CopyTo() [2/2]

None eVision.Legacy.EWedgeShape.CopyTo ( self,
eVision.Legacy.EWedgeShape dest,
bool bRecursive )

Copies all the data of the current eVision.Legacy.EWedgeShape object into another eVision.Legacy.EWedgeShape object and returns it.

Remarks:

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

Parameters
destPointer to the eVision.Legacy.EWedgeShape object in which the current eVision.Legacy.EWedgeShape object data have to be copied.
bRecursivetrue if the children shapes have to be copied as well, false otherwise.

Reimplemented in eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ Direct() [1/2]

bool eVision.Legacy.EWedgeShape.Direct ( self)

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

Remarks:

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.

◆ Direct() [2/2]

eVision.Legacy.EWedgeShape.Direct ( self,
bool value )

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

Remarks:

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.

◆ Drag()

None eVision.Legacy.EWedgeShape.Drag ( self,
int n32CursorX,
int n32CursorY )

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

Parameters
n32CursorXCurrent cursor coordinates.
n32CursorYCurrent cursor coordinates.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge.

◆ Draw() [1/3]

None eVision.Legacy.EWedgeShape.Draw ( self,
eVision.EDrawAdapter | None graphicContext )

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

Parameters
graphicContextHandle of the device context on which to draw.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ Draw() [2/3]

None eVision.Legacy.EWedgeShape.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EDrawingMode drawingMode )

Draws a graphical representation of a shape, as defined by eVision.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 eVision.EDrawingMode.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ Draw() [3/3]

None eVision.Legacy.EWedgeShape.Draw ( self,
eVision.EDrawAdapter | None graphicContext,
eVision.EDrawingMode drawingMode,
bool daughters )

Draws a graphical representation of a shape, as defined by eVision.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 eVision.EDrawingMode.
daughterstrue if the daughters gauges are to be displayed also.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ EndAngle()

float eVision.Legacy.EWedgeShape.EndAngle ( self)

Ending angular position of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, 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.

◆ FullBreadth()

bool eVision.Legacy.EWedgeShape.FullBreadth ( self)

Flag indicating if the eVision.Legacy.EWedgeShape has a full breadth (breadth = radius).

◆ FullCircle()

bool eVision.Legacy.EWedgeShape.FullCircle ( self)

Flag indicating if the eVision.Legacy.EWedgeShape is a full circle (amplitude = 2 PI).

◆ GetCorners()

None eVision.Legacy.EWedgeShape.GetCorners ( self,
eVision.EPoint ar,
eVision.EPoint AAr,
eVision.EPoint aRR,
eVision.EPoint AARR )

Retrieves the coordinates of each corner of the eVision.Legacy.EWedgeShape.

Parameters
arCoordinates of the inner org corner of the eVision.Legacy.EWedgeShape.
AArCoordinates of the inner end corner of the eVision.Legacy.EWedgeShape.
aRRCoordinates of the outer org corner of the eVision.Legacy.EWedgeShape.
AARRCoordinates of the outer end corner of the eVision.Legacy.EWedgeShape.

◆ GetEdges()

None eVision.Legacy.EWedgeShape.GetEdges ( self,
eVision.Legacy.ELine a,
eVision.Legacy.ELine AA,
eVision.Legacy.ECircle r,
eVision.Legacy.ECircle RR )

Retrieves each edge of the eVision.Legacy.EWedgeShape.

Parameters
aOrg edge of the eVision.Legacy.EWedgeShape.
AAEnd edge of the eVision.Legacy.EWedgeShape.
rInner edge of the eVision.Legacy.EWedgeShape.
RROuter edge of the eVision.Legacy.EWedgeShape.

◆ GetInnerPoint()

eVision.EPoint eVision.Legacy.EWedgeShape.GetInnerPoint ( self,
float fraction )

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

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

◆ GetMidEdges()

None eVision.Legacy.EWedgeShape.GetMidEdges ( self,
eVision.EPoint a,
eVision.EPoint AA,
eVision.EPoint r,
eVision.EPoint RR )

Retrieves the center coordinates of each edge of the wedge fitting gauge.

Parameters
aCenter coordinates of the org edge of the eVision.Legacy.EWedgeShape.
AACenter coordinates of the end edge of the eVision.Legacy.EWedgeShape.
rCenter coordinates of the inner edge of the eVision.Legacy.EWedgeShape.
RRCenter coordinates of the outer edge of the eVision.Legacy.EWedgeShape.

◆ GetOuterPoint()

eVision.EPoint eVision.Legacy.EWedgeShape.GetOuterPoint ( self,
float fraction )

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

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

◆ GetPoint()

eVision.EPoint eVision.Legacy.EWedgeShape.GetPoint ( self,
float breadthFraction,
float angleFraction )

Returns the coordinates of a particular point specified by its location along the wedge perimeter.

Parameters
breadthFractionPoint location expressed as a fraction of the wedge breadth (range -1, +1).
angleFractionPoint location expressed as a fraction of the wedge amplitude (range -1, +1).

◆ HitTest() [1/2]

bool eVision.Legacy.EWedgeShape.HitTest ( self)

Checks if there is a handle under the cursor.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ HitTest() [2/2]

bool eVision.Legacy.EWedgeShape.HitTest ( self,
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.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ InnerApex()

eVision.EPoint eVision.Legacy.EWedgeShape.InnerApex ( self)

Inner apex point coordinates of the eVision.Legacy.EWedgeShape.

◆ InnerArcLength()

float eVision.Legacy.EWedgeShape.InnerArcLength ( self)

Inner circle arc length of the eVision.Legacy.EWedgeShape.

◆ InnerDiameter()

float eVision.Legacy.EWedgeShape.InnerDiameter ( self)

Inner diameter of the eVision.Legacy.EWedgeShape.

◆ InnerEnd()

eVision.EPoint eVision.Legacy.EWedgeShape.InnerEnd ( self)

Inner end point coordinates of the eVision.Legacy.EWedgeShape.

◆ InnerOrg()

eVision.EPoint eVision.Legacy.EWedgeShape.InnerOrg ( self)

Inner origin point coordinates of the eVision.Legacy.EWedgeShape.

◆ InnerRadius()

float eVision.Legacy.EWedgeShape.InnerRadius ( self)

Inner radius of the eVision.Legacy.EWedgeShape.

◆ OrgAngle()

float eVision.Legacy.EWedgeShape.OrgAngle ( self)

Angular position from where the eVision.Legacy.EWedgeShape extents.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (its center coordinates), its nominal radius (diameter), its breadth, 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.

◆ OuterApex()

eVision.EPoint eVision.Legacy.EWedgeShape.OuterApex ( self)

Outer apex point coordinates of the eVision.Legacy.EWedgeShape.

Remarks:

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

◆ OuterArcLength()

float eVision.Legacy.EWedgeShape.OuterArcLength ( self)

Outer circle arc length of the eVision.Legacy.EWedgeShape.

Remarks:

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

◆ OuterDiameter()

float eVision.Legacy.EWedgeShape.OuterDiameter ( self)

Outer diameter of the eVision.Legacy.EWedgeShape.

Remarks:

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

◆ OuterEnd()

eVision.EPoint eVision.Legacy.EWedgeShape.OuterEnd ( self)

Outer end point coordinates of the eVision.Legacy.EWedgeShape.

Remarks:

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

◆ OuterOrg()

eVision.EPoint eVision.Legacy.EWedgeShape.OuterOrg ( self)

Outer origin point coordinates of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (its center coordinates), its nominal outer radius (diameter), its breadth (must be negative), the angular position from where it extents, its angular amplitude, and its outline tolerance.

◆ OuterRadius()

float eVision.Legacy.EWedgeShape.OuterRadius ( self)

Outer radius of the eVision.Legacy.EWedgeShape.

Remarks:

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

◆ Scale() [1/2]

float eVision.Legacy.EWedgeShape.Scale ( self)

Horizontal sensor resolution, in pixels per unit.

◆ Scale() [2/2]

eVision.Legacy.EWedgeShape.Scale ( self,
float value )

Horizontal sensor resolution, in pixels per unit.

◆ SetCenterXY()

None eVision.Legacy.EWedgeShape.SetCenterXY ( self,
float centerX,
float centerY )

Sets the center coordinates of a eVision.Legacy.EWedgeShape object.

Parameters
centerXCenter coordinates of the eVision.Legacy.EWedgeShape object.
centerYCenter coordinates of the eVision.Legacy.EWedgeShape object.

◆ SetDiameters() [1/2]

None eVision.Legacy.EWedgeShape.SetDiameters ( self,
float diameter )

Sets the nominal inner/outer diameter and breadth of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (given by the coordinates of its center), its nominal outer radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.

By default, the eVision.Legacy.EWedgeShape diameter value is 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.

Parameters
diameterOuter diameter of the eVision.Legacy.EWedgeShape. The default value is 100.

Reimplemented in eVision.Legacy.EWedgeGauge.

◆ SetDiameters() [2/2]

None eVision.Legacy.EWedgeShape.SetDiameters ( self,
float diameter,
float breadth )

Sets the nominal inner/outer diameter and breadth of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (given by the coordinates of its center), its nominal outer radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.

By default, the eVision.Legacy.EWedgeShape diameter value is 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.

Parameters
diameterOuter diameter of the eVision.Legacy.EWedgeShape. The default value is 100.
breadthBreadth of the eVision.Legacy.EWedgeShape. It must be negative or zero. Its default value is -50.

Reimplemented in eVision.Legacy.EWedgeGauge.

◆ SetFromCenterAndOrigin() [1/3]

None eVision.Legacy.EWedgeShape.SetFromCenterAndOrigin ( self,
eVision.EPoint center,
eVision.EPoint origin )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

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

◆ SetFromCenterAndOrigin() [2/3]

None eVision.Legacy.EWedgeShape.SetFromCenterAndOrigin ( self,
eVision.EPoint center,
eVision.EPoint origin,
float breadth )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Parameters
centerCenter coordinates of the wedge at its nominal position. The default value is (0,0).
originOrigin point coordinates of the wedge.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is -50.

◆ SetFromCenterAndOrigin() [3/3]

None eVision.Legacy.EWedgeShape.SetFromCenterAndOrigin ( self,
eVision.EPoint center,
eVision.EPoint origin,
float breadth,
bool direct )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Parameters
centerCenter coordinates of the wedge at its nominal position. The default value is (0,0).
originOrigin point coordinates of the wedge.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is -50.
directtrue (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system.

◆ SetFromOriginMiddleEnd() [1/3]

None eVision.Legacy.EWedgeShape.SetFromOriginMiddleEnd ( self,
eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

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

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ SetFromOriginMiddleEnd() [2/3]

None eVision.Legacy.EWedgeShape.SetFromOriginMiddleEnd ( self,
eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end,
float breadth )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Parameters
originOrigin point coordinates of the wedge.
middleMiddle point coordinates of the wedge.
endEnd point coordinates of the wedge.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is -50.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ SetFromOriginMiddleEnd() [3/3]

None eVision.Legacy.EWedgeShape.SetFromOriginMiddleEnd ( self,
eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end,
float breadth,
bool fullCircle )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Parameters
originOrigin point coordinates of the wedge.
middleMiddle point coordinates of the wedge.
endEnd point coordinates of the wedge.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is -50.
fullCircletrue (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ SetFromTwoPoints() [1/3]

None eVision.Legacy.EWedgeShape.SetFromTwoPoints ( self,
eVision.EPoint center,
eVision.EPoint origin )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Deprecated

Use eVision.Legacy.EWedgeShape.SetFromCenterAndOrigin instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

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

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ SetFromTwoPoints() [2/3]

None eVision.Legacy.EWedgeShape.SetFromTwoPoints ( self,
eVision.EPoint center,
eVision.EPoint origin,
float breadth )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Deprecated

Use eVision.Legacy.EWedgeShape.SetFromCenterAndOrigin instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
centerCenter coordinates of the wedge at its nominal position. The default value is (0,0).
originOrigin point coordinates of the wedge.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is -50.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ SetFromTwoPoints() [3/3]

None eVision.Legacy.EWedgeShape.SetFromTwoPoints ( self,
eVision.EPoint center,
eVision.EPoint origin,
float breadth,
bool direct )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.Legacy.EWedgeShape object.

Remarks:

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

Deprecated

Use eVision.Legacy.EWedgeShape.SetFromCenterAndOrigin instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
centerCenter coordinates of the wedge at its nominal position. The default value is (0,0).
originOrigin point coordinates of the wedge.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is -50.
directtrue (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system.

Reimplemented in eVision.Legacy.EWedgeGauge, eVision.Legacy.EWedgeGauge, and eVision.Legacy.EWedgeGauge.

◆ SetRadii() [1/2]

None eVision.Legacy.EWedgeShape.SetRadii ( self,
float outerRadius )

Sets the nominal radius and breadth of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (given by the coordinates of its center), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.

By default, the eVision.Legacy.EWedgeShape radius value is 50, which means 50 pixels when the field of view is not calibrated and 50 "units" in case of a calibrated field of view.

Parameters
outerRadiusOuter radius of the eVision.Legacy.EWedgeShape. The default value is 50.

Reimplemented in eVision.Legacy.EWedgeGauge.

◆ SetRadii() [2/2]

None eVision.Legacy.EWedgeShape.SetRadii ( self,
float outerRadius,
float breadth )

Sets the nominal radius and breadth of the eVision.Legacy.EWedgeShape.

Remarks:

A eVision.Legacy.EWedgeShape is fully defined knowing its nominal position (given by the coordinates of its center), its nominal radius (diameter), its breadth, the angular position from where it extents, its angular amplitude and its outline tolerance.

By default, the eVision.Legacy.EWedgeShape radius value is 50, which means 50 pixels when the field of view is not calibrated and 50 "units" in case of a calibrated field of view.

Parameters
outerRadiusOuter radius of the eVision.Legacy.EWedgeShape. The default value is 50.
breadthBreadth of the eVision.Legacy.EWedgeShape, which must be negative or zero. Its default value is -50.

Reimplemented in eVision.Legacy.EWedgeGauge.

◆ Type()

eVision.EShapeType eVision.Legacy.EWedgeShape.Type ( self)

Shape type.

Reimplemented from eVision.Legacy.EShape.

Reimplemented in eVision.Legacy.EWedgeGauge.

Property Documentation

◆ Wedge

eVision.Legacy.EWedgeShape.Wedge
static
Initial value:
= property(None, _Wedge__setter, None,
)