eVision Python API
Loading...
Searching...
No Matches
eVision.EWedge Class Reference

Represents a model of a wedge (disk, ring, sector or curvilinear quadrilateral). More...

Inheritance diagram for eVision.EWedge:
Collaboration diagram for eVision.EWedge:

Public Member Functions

None __init__ (self)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, float diameter, float breadth, float originAngle, bool direct)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, float diameter, float breadth, float originAngle)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, float diameter, float breadth)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, float diameter)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, eVision.EPoint origin, float breadth, bool direct)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, eVision.EPoint origin, float breadth)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, eVision.EPoint origin)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint center, float diameter, float breadth, float originAngle, float amplitude)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end, float breadth, bool fullCircle)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end, float breadth)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EPoint origin, eVision.EPoint middle, eVision.EPoint end)
 Constructs a eVision.EWedge object.
None __init__ (self, eVision.EWedge other)
 Constructs a eVision.EWedge object.
None CopyTo (self, eVision.EWedge other)
 Copies all the data of the current eVision.EWedge object into another eVision.EWedge 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.EWedge 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.EWedge 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.EWedge 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.EWedge 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.EWedge 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.EWedge object.
None SetRadii (self, float radius, float breadth)
 Sets the nominal radius and breadth of the eVision.EWedge.
None SetRadii (self, float radius)
 Sets the nominal radius and breadth of the eVision.EWedge.
None SetDiameters (self, float diameter, float breadth)
 Sets the nominal inner/outer diameter and breadth of the eVision.EWedge.
None SetDiameters (self, float diameter)
 Sets the nominal inner/outer diameter and breadth of the eVision.EWedge.
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.
bool IsFullBreadth (self)
 Flag indicating if the eVision.EWedge has a full breadth (breadth = radius).
bool IsFullCircle (self)
 Flag indicating if the eVision.EWedge is a full circle (amplitude = 2 PI).
bool IsDirect (self)
 Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation.
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.EWedge.
None GetEdges (self, eVision.ELine orgEdge, eVision.ELine endEdge, eVision.ECircle innerCircle, eVision.ECircle outerCircle)
 Retrieves each edge of the eVision.EWedge.
eVision.EPoint Center (self)
 Center of the eVision.EWedge.
 Center (self, eVision.EPoint value)
 Center of the eVision.EWedge.
float CenterX (self)
 X coordinate of the center of the eVision.EWedge.
 CenterX (self, float value)
 X coordinate of the center of the eVision.EWedge.
float CenterY (self)
 Y coordinate of the center of the eVision.EWedge.
 CenterY (self, float value)
 Y coordinate of the center of the eVision.EWedge.
float Angle (self)
 Starting orientation of the eVision.EWedge.
 Angle (self, float value)
 Starting orientation of the eVision.EWedge.
float Amplitude (self)
 Angular amplitude of the eVision.EWedge.
 Amplitude (self, float value)
 Angular amplitude of the eVision.EWedge.
float InnerDiameter (self)
 Inner diameter of the eVision.EWedge.
float OuterDiameter (self)
 Outer diameter of the eVision.EWedge.
float InnerRadius (self)
 Inner radius of the eVision.EWedge.
float OuterRadius (self)
 Outer radius of the eVision.EWedge.
float Breadth (self)
 Breadth of the eVision.EWedge.
float InnerArcLength (self)
 Inner circle arc length of the eVision.EWedge.
float OuterArcLength (self)
 Outer circle arc length of the eVision.EWedge.
float OrgAngle (self)
 Angular position from where the eVision.EWedge extents.
float ApexAngle (self)
 Angular position at the apex of the eVision.EWedge.
float EndAngle (self)
 Ending angular position of the eVision.EWedge.
eVision.EPoint InnerOrg (self)
 Inner origin point coordinates of the eVision.EWedge.
eVision.EPoint InnerApex (self)
 Inner apex point coordinates of the eVision.EWedge.
eVision.EPoint InnerEnd (self)
 Inner end point coordinates of the eVision.EWedge.
eVision.EPoint OuterOrg (self)
 Outer origin point coordinates of the eVision.EWedge.
eVision.EPoint OuterApex (self)
 Outer apex point coordinates of the eVision.EWedge.
eVision.EPoint OuterEnd (self)
 Outer end point coordinates of the eVision.EWedge.
eVision.EEditionMode AvailableEditionModes (self)
 Available edition modes for the shape.
str Description (self)
 Textual description of the shape and its parameters.
Public Member Functions inherited from eVision.EShape
None Load (self, str path)
 Load the eVision.EShape configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.EShape configuration.
None Save (self, str path)
 Save the eVision.EShape configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.EShape configuration.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the eVision.EShape shape.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame)
 Moves the specified handle to a new position and updates all placement parameters of the region.
eVision.EFrame ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling)
 Converts the shape to a frame.
eVision.EFrame ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame shapeFrame)
 Converts the shape to a frame.
eVision.EEditionMode EditionMode (self)
 Current edition mode for the shape.
 EditionMode (self, eVision.EEditionMode value)
 Current edition mode for the shape.

Detailed Description

Represents a model of a wedge (disk, ring, sector or curvilinear quadrilateral).

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/13]

None eVision.EWedge.__init__ ( self)

Constructs a eVision.EWedge object.

◆ __init__() [2/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
float diameter,
float breadth,
float originAngle,
bool direct )

Constructs a eVision.EWedge object.

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

◆ __init__() [3/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
float diameter,
float breadth,
float originAngle )

Constructs a eVision.EWedge object.

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

◆ __init__() [4/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
float diameter,
float breadth )

Constructs a eVision.EWedge object.

Parameters
centerCenter coordinates of the wedge at its nominal position. The default value is (0,0).
diameterNominal diameter of the wedge. The default value is 100.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is 0.

◆ __init__() [5/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
float diameter )

Constructs a eVision.EWedge object.

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

◆ __init__() [6/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
eVision.EPoint origin,
float breadth,
bool direct )

Constructs a eVision.EWedge object.

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 0.
directtrue (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system.

◆ __init__() [7/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
eVision.EPoint origin,
float breadth )

Constructs a eVision.EWedge object.

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 0.

◆ __init__() [8/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
eVision.EPoint origin )

Constructs a eVision.EWedge object.

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

◆ __init__() [9/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint center,
float diameter,
float breadth,
float originAngle,
float amplitude )

Constructs a eVision.EWedge object.

Parameters
centerCenter coordinates of the wedge at its nominal position. The default value is (0,0).
diameterNominal diameter of the wedge. The default value is 100.
breadthNominal breadth of the wedge. It must be negative or zero. The default value is 0.
originAngleOrigin point coordinates of the wedge.
amplitudeNominal angular amplitude of the wedge. The default value is 360.

◆ __init__() [10/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end,
float breadth,
bool fullCircle )

Constructs a eVision.EWedge object.

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 0.
fullCircletrue (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude.

◆ __init__() [11/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end,
float breadth )

Constructs a eVision.EWedge object.

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 0.

◆ __init__() [12/13]

None eVision.EWedge.__init__ ( self,
eVision.EPoint origin,
eVision.EPoint middle,
eVision.EPoint end )

Constructs a eVision.EWedge object.

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

◆ __init__() [13/13]

None eVision.EWedge.__init__ ( self,
eVision.EWedge other )

Constructs a eVision.EWedge object.

Parameters
otherAnother eVision.EWedge object to be copied in the new eVision.EWedge object.

Member Function Documentation

◆ Amplitude() [1/2]

float eVision.EWedge.Amplitude ( self)

Angular amplitude of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.Amplitude ( self,
float value )

Angular amplitude of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.Angle ( self)

Starting orientation of the eVision.EWedge.

◆ Angle() [2/2]

eVision.EWedge.Angle ( self,
float value )

Starting orientation of the eVision.EWedge.

◆ ApexAngle()

float eVision.EWedge.ApexAngle ( self)

Angular position at the apex of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.

◆ AvailableEditionModes()

eVision.EEditionMode eVision.EWedge.AvailableEditionModes ( self)

Available edition modes for the shape.

Reimplemented from eVision.EShape.

◆ Breadth()

float eVision.EWedge.Breadth ( self)

Breadth of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.Center ( self)

Center of the eVision.EWedge.

◆ Center() [2/2]

eVision.EWedge.Center ( self,
eVision.EPoint value )

Center of the eVision.EWedge.

◆ CenterX() [1/2]

float eVision.EWedge.CenterX ( self)

X coordinate of the center of the eVision.EWedge.

◆ CenterX() [2/2]

eVision.EWedge.CenterX ( self,
float value )

X coordinate of the center of the eVision.EWedge.

◆ CenterY() [1/2]

float eVision.EWedge.CenterY ( self)

Y coordinate of the center of the eVision.EWedge.

◆ CenterY() [2/2]

eVision.EWedge.CenterY ( self,
float value )

Y coordinate of the center of the eVision.EWedge.

◆ CopyTo()

None eVision.EWedge.CopyTo ( self,
eVision.EWedge other )

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

Remarks:

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

Parameters
othereVision.EWedge object in which the current eVision.EWedge object data have to be copied.

◆ Description()

str eVision.EWedge.Description ( self)

Textual description of the shape and its parameters.

Reimplemented from eVision.EShape.

◆ EndAngle()

float eVision.EWedge.EndAngle ( self)

Ending angular position of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.

◆ GetCorners()

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

Retrieves the coordinates of each corner of the eVision.EWedge.

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

◆ GetEdges()

None eVision.EWedge.GetEdges ( self,
eVision.ELine orgEdge,
eVision.ELine endEdge,
eVision.ECircle innerCircle,
eVision.ECircle outerCircle )

Retrieves each edge of the eVision.EWedge.

Parameters
orgEdgeOrg edge of the eVision.EWedge.
endEdgeEnd edge of the eVision.EWedge.
innerCircleInner edge of the eVision.EWedge.
outerCircleOuter edge of the eVision.EWedge.

◆ GetInnerPoint()

eVision.EPoint eVision.EWedge.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.EWedge.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.EWedge.
AACenter coordinates of the end edge of the eVision.EWedge.
rCenter coordinates of the inner edge of the eVision.EWedge.
RRCenter coordinates of the outer edge of the eVision.EWedge.

◆ GetOuterPoint()

eVision.EPoint eVision.EWedge.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.EWedge.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).

◆ InnerApex()

eVision.EPoint eVision.EWedge.InnerApex ( self)

Inner apex point coordinates of the eVision.EWedge.

◆ InnerArcLength()

float eVision.EWedge.InnerArcLength ( self)

Inner circle arc length of the eVision.EWedge.

◆ InnerDiameter()

float eVision.EWedge.InnerDiameter ( self)

Inner diameter of the eVision.EWedge.

◆ InnerEnd()

eVision.EPoint eVision.EWedge.InnerEnd ( self)

Inner end point coordinates of the eVision.EWedge.

◆ InnerOrg()

eVision.EPoint eVision.EWedge.InnerOrg ( self)

Inner origin point coordinates of the eVision.EWedge.

◆ InnerRadius()

float eVision.EWedge.InnerRadius ( self)

Inner radius of the eVision.EWedge.

◆ IsDirect()

bool eVision.EWedge.IsDirect ( 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.

◆ IsFullBreadth()

bool eVision.EWedge.IsFullBreadth ( self)

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

◆ IsFullCircle()

bool eVision.EWedge.IsFullCircle ( self)

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

◆ OrgAngle()

float eVision.EWedge.OrgAngle ( self)

Angular position from where the eVision.EWedge extents.

Remarks:

A eVision.EWedge 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.EWedge.OuterApex ( self)

Outer apex point coordinates of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.OuterArcLength ( self)

Outer circle arc length of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.OuterDiameter ( self)

Outer diameter of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.OuterEnd ( self)

Outer end point coordinates of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.OuterOrg ( self)

Outer origin point coordinates of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge.OuterRadius ( self)

Outer radius of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.

◆ SetDiameters() [1/2]

None eVision.EWedge.SetDiameters ( self,
float diameter )

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

Remarks:

A eVision.EWedge 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.EWedge 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.EWedge. The default value is 100.

◆ SetDiameters() [2/2]

None eVision.EWedge.SetDiameters ( self,
float diameter,
float breadth )

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

Remarks:

A eVision.EWedge 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.EWedge 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.EWedge. The default value is 100.
breadthBreadth of the eVision.EWedge. It must be negative or zero. Its default value is -50.

◆ SetFromCenterAndOrigin() [1/3]

None eVision.EWedge.SetFromCenterAndOrigin ( self,
eVision.EPoint center,
eVision.EPoint origin )

Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an eVision.EWedge 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.EWedge.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.EWedge 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 0.

◆ SetFromCenterAndOrigin() [3/3]

None eVision.EWedge.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.EWedge 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 0.
directtrue (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system.

◆ SetFromOriginMiddleEnd() [1/3]

None eVision.EWedge.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.EWedge 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.

◆ SetFromOriginMiddleEnd() [2/3]

None eVision.EWedge.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.EWedge 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 0.

◆ SetFromOriginMiddleEnd() [3/3]

None eVision.EWedge.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.EWedge 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 0.
fullCircletrue (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude.

◆ SetRadii() [1/2]

None eVision.EWedge.SetRadii ( self,
float radius )

Sets the nominal radius and breadth of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge 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
radiusOuter radius of the eVision.EWedge. The default value is 50.

◆ SetRadii() [2/2]

None eVision.EWedge.SetRadii ( self,
float radius,
float breadth )

Sets the nominal radius and breadth of the eVision.EWedge.

Remarks:

A eVision.EWedge 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.EWedge 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
radiusOuter radius of the eVision.EWedge. The default value is 50.
breadthBreadth of the eVision.EWedge, which must be negative or zero. Its default value is -50.