Represents a model of a wedge (disk, ring, sector or curvilinear quadrilateral). More...
#include <eVision/Easy/Legacy/EWedge.h>
Public Member Functions | |
| EWedge () | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth, float originAngle, bool direct) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth, float originAngle) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth, bool direct) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, const eVision::EPoint &origin) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint ¢er, float diameter, float breadth, float originAngle, float amplitude) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth, bool fullCircle) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end) | |
| Constructs a EWedge object. | |
| EWedge (const eVision::Legacy::EWedge &other) | |
| Constructs a EWedge object. | |
| virtual | ~EWedge () throw () |
| eVision::Legacy::EWedge & | operator= (const eVision::Legacy::EWedge &other) |
| Copies all the data from another EWedge object into the current EWedge object. | |
| void | CopyTo (eVision::Legacy::EWedge &other) const |
| Copies all the data of the current EWedge object into another EWedge object and returns it. | |
| eVision::Legacy::EWedge * | CopyTo (eVision::Legacy::EWedge *destinationImage) const |
| Copies all the data of the current EWedge object into another EWedge object and returns it. | |
| void | SetFromCenterAndOrigin (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth, bool direct) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromCenterAndOrigin (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromCenterAndOrigin (const eVision::EPoint ¢er, const eVision::EPoint &origin) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromOriginMiddleEnd (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth, bool fullCircle) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromOriginMiddleEnd (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end, float breadth) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromOriginMiddleEnd (const eVision::EPoint &origin, const eVision::EPoint &middle, const eVision::EPoint &end) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromTwoPoints (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth, bool direct) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromTwoPoints (const eVision::EPoint ¢er, const eVision::EPoint &origin, float breadth) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetFromTwoPoints (const eVision::EPoint ¢er, const eVision::EPoint &origin) |
| Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object. | |
| void | SetAmplitude (float ampl) |
| Angular amplitude of the EWedge. | |
| float | GetAmplitude () const |
| Angular amplitude of the EWedge. | |
| void | SetRadii (float radius, float breadth) |
| Sets the nominal radius and breadth of the EWedge. | |
| void | SetRadii (float radius) |
| Sets the nominal radius and breadth of the EWedge. | |
| void | SetDiameters (float diameter, float breadth) |
| Sets the nominal inner/outer diameter and breadth of the EWedge. | |
| void | SetDiameters (float diameter) |
| Sets the nominal inner/outer diameter and breadth of the EWedge. | |
| float | GetInnerDiameter () const |
| Inner diameter of the EWedge. | |
| float | GetOuterDiameter () const |
| Outer diameter of the EWedge. | |
| float | GetInnerRadius () const |
| Inner radius of the EWedge. | |
| float | GetOuterRadius () const |
| Outer radius of the EWedge. | |
| float | GetBreadth () const |
| Breadth of the EWedge. | |
| float | GetInnerArcLength () const |
| Inner circle arc length of the EWedge. | |
| float | GetOuterArcLength () const |
| Outer circle arc length of the EWedge. | |
| float | GetOrgAngle () const |
| Angular position from where the EWedge extents. | |
| float | GetApexAngle () const |
| Angular position at the apex of the EWedge. | |
| float | GetEndAngle () const |
| Ending angular position of the EWedge. | |
| eVision::EPoint | GetInnerOrg () const |
| Inner origin point coordinates of the EWedge. | |
| eVision::EPoint | GetInnerApex () const |
| Inner apex point coordinates of the EWedge. | |
| eVision::EPoint | GetInnerEnd () const |
| Inner end point coordinates of the EWedge. | |
| eVision::EPoint | GetOuterOrg () const |
| Outer origin point coordinates of the EWedge. | |
| eVision::EPoint | GetOuterApex () const |
| Outer apex point coordinates of the EWedge. | |
| eVision::EPoint | GetOuterEnd () const |
| Outer end point coordinates of the EWedge. | |
| eVision::EPoint | GetInnerPoint (float fraction) const |
| Returns the coordinates of a particular point specified by its location along the inner circle arc. | |
| eVision::EPoint | GetOuterPoint (float fraction) const |
| Returns the coordinates of a particular point specified by its location along the outter circle arc. | |
| eVision::EPoint | GetPoint (float breadthFraction, float angleFraction) const |
| Returns the coordinates of a particular point specified by its location along the wedge perimeter. | |
| bool | GetFullBreadth () const |
| Flag indicating if the EWedge has a full breadth (breadth = radius). | |
| bool | GetFullCircle () const |
| Flag indicating if the EWedge is a full circle (amplitude = 2 PI). | |
| bool | GetDirect () const |
| Flag indicating whether positive angles correspond to a clockwise or an anticlockwise rotation. | |
| void | SetDirect (bool direct) |
| void | GetMidEdges (eVision::EPoint &a, eVision::EPoint &AA, eVision::EPoint &r, eVision::EPoint &RR) |
| Retrieves the center coordinates of each edge of the wedge fitting gauge. | |
| void | GetCorners (eVision::EPoint &ar, eVision::EPoint &AAr, eVision::EPoint &aRR, eVision::EPoint &AARR) |
| Retrieves the coordinates of each corner of the EWedge. | |
| void | GetEdges (eVision::Legacy::ELine &a, eVision::Legacy::ELine &AA, eVision::Legacy::ECircle &r, eVision::Legacy::ECircle &RR) |
| Retrieves each edge of the EWedge. | |
| EWedge (CppWrapperInternal::InternalConstructor) | |
| Public Member Functions inherited from eVision::Legacy::EFrame | |
| EFrame () | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY, float angle, float scale) | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY, float angle) | |
| Constructs a EFrame object. | |
| EFrame (float centerX, float centerY) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::EPoint ¢er, float angle, float scale) | |
| Constructs a EFrame object. | |
| EFrame (const eVision::Legacy::EFrame &frame) | |
| Constructs a EFrame object. | |
| virtual | ~EFrame () throw () |
| eVision::Legacy::EFrame & | operator= (const eVision::Legacy::EFrame &frame) |
| Copies all the data from another EFrame object into the current EFrame object. | |
| eVision::EPoint | operator+ (const eVision::EPoint &point) const |
| Returns the addition of the point to the center of the EFrame. | |
| eVision::EPoint | operator- (const eVision::EPoint &point) const |
| Returns the substraction of the center of the EFrame with the given point. | |
| eVision::EPoint | operator* (float scalar) const |
| Returns the multiplication of the center of the EFrame with the given multiplier. | |
| eVision::EPoint | operator/ (float scalar) const |
| Returns the division of the center of the EFrame with the given divisor. | |
| bool | operator== (const eVision::Legacy::EFrame &frame) const |
| Compares the current EFrame center coordinates with the center coordinates of another EFrame object. | |
| bool | operator!= (const eVision::Legacy::EFrame &frame) const |
| Compares the current EFrame center coordinates with the center coordinates of another EFrame object. | |
| void | CopyTo (eVision::Legacy::EFrame &other) const |
| Copies all the data from the current EFrame object into another EFrame object, and returns it. | |
| eVision::Legacy::EFrame * | CopyTo (eVision::Legacy::EFrame *other) const |
| Copies all the data from the current EFrame object into another EFrame object, and returns it. | |
| void | SetAngle (float angle) |
| Orientation of the frame. | |
| void | SetScale (float scale) |
| Horizontal sensor resolution, in pixels per unit. | |
| float | GetCenterX () const |
| Abscissa of the origin point of the frame. | |
| float | GetCenterY () const |
| Ordinate of the origin point of the frame. | |
| float | GetAngle () const |
| Orientation of the frame. | |
| float | GetScale () const |
| Horizontal sensor resolution, in pixels per unit. | |
| eVision::EPoint | LocalToGlobal (const eVision::EPoint &local) const |
| Transforms a geometrical element from local to global coordinates (local to world). | |
| eVision::Legacy::EFrame | LocalToGlobal (const eVision::Legacy::EFrame &local) const |
| Transforms a geometrical element from local to global coordinates (local to world). | |
| eVision::Legacy::ELine | LocalToGlobal (const eVision::Legacy::ELine &local) const |
| Transforms a geometrical element from local to global coordinates (local to world). | |
| eVision::Legacy::ECircle | LocalToGlobal (const eVision::Legacy::ECircle &local) const |
| Transforms a geometrical element from local to global coordinates (local to world). | |
| eVision::EPoint | GlobalToLocal (const eVision::EPoint &global) const |
| Transforms a geometrical element from global to local coordinates (world to local). | |
| eVision::Legacy::EFrame | GlobalToLocal (const eVision::Legacy::EFrame &global) const |
| Transforms a geometrical element from global to local coordinates (world to local). | |
| void | Load (const std::string &path) |
| Load the EFrame configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Load the EFrame configuration. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Save the EFrame configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Save the EFrame configuration. The given ESerializer must have been created for writing. | |
| virtual void | SetCenter (const eVision::EPoint ¢er) |
| Center coordinates of a EFrame object. | |
| virtual eVision::EPoint | GetCenter () const |
| Center. | |
| void | SetCenterXY (float centerX, float centerY) |
| Sets the center coordinates of a EFrame object. | |
| float | GetX () const |
| Abscissa (X coordinate) of the EFrame object. | |
| void | SetX (float value) |
| Abscissa (X coordinate) of the EFrame object. | |
| float | GetY () const |
| Ordinate (Y coordinate) of the EFrame object. | |
| void | SetY (float value) |
| Ordinate (Y coordinate) of the EFrame object. | |
| eVision::EPoint | MidPoint (const eVision::EPoint &Point) const |
| Returns the middle coordinate between this EFrame object's center and another EFrame object's center. | |
| eVision::EPoint | Rotate (float angle) const |
| Returns another EPoint object containing the coordinates of the rotated center point. | |
| float | Square () const |
| Compute the sum of the squared coordinates of the center of a EFrame. | |
| float | Modulus () const |
| Compute the euclidean modulus of the center of a EFrame. | |
| float | Argument () const |
| Compute the polar argument of the center of EFrame object. | |
| float | Dot (const eVision::EPoint &Point) const |
| Compute the dot product of the centers of two EFrame objects. | |
| float | Cross (const eVision::EPoint &Point) const |
| Compute the cross product of the centers of two EFrame objects. | |
| float | Area (const eVision::EPoint &Point) const |
| Compute the oriented area of the parallelogram built on the centers of two EFrame. | |
| eVision::EPoint | Project (const eVision::Legacy::ELine &shape) const |
| Compute the orthogonal projection of the center of a EFrame on another shape. | |
| eVision::EPoint | Project (const eVision::Legacy::ECircle &shape) const |
| Compute the orthogonal projection of the center of a EFrame on another shape. | |
| float | SquaredDistance (const eVision::EPoint &Point) const |
| Compute the squared distance between the centers of two EFrame. | |
| eVision::EPoint | Move (float angle, float distance) const |
| Return the position by moving the center along angle by distance. | |
| virtual float | Distance (const eVision::EPoint &point) const |
| Returns the distance between the addressed point and the center of EFrame object. | |
| virtual float | Distance (const eVision::Legacy::ELine &line, bool segmentOnly) const |
| Returns the distance between the addressed point and the center of EFrame object. | |
| virtual float | Distance (const eVision::Legacy::ELine &line) const |
| Returns the distance between the addressed point and the center of EFrame object. | |
| virtual float | Distance (const eVision::Legacy::ECircle &circle, bool arcOnly) const |
| Returns the distance between the addressed point and the center of EFrame object. | |
| virtual float | Distance (const eVision::Legacy::ECircle &circle) const |
| Returns the distance between the addressed point and the center of EFrame object. | |
| EFrame (CppWrapperInternal::InternalConstructor) | |
Additional Inherited Members | |
| Public Attributes inherited from eVision::Legacy::EFrame | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Represents a model of a wedge (disk, ring, sector or curvilinear quadrilateral).
License(s): BasicTypes
| eVision::Legacy::EWedge::EWedge | ( | ) |
Constructs a EWedge object.
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth, | ||
| float | originAngle, | ||
| bool | direct ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| originAngle | Origin point coordinates of the wedge. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth, | ||
| float | originAngle ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| originAngle | Origin point coordinates of the wedge. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth, | ||
| bool | direct ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | center, |
| float | diameter, | ||
| float | breadth, | ||
| float | originAngle, | ||
| float | amplitude ) |
Constructs a EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| diameter | Nominal diameter of the wedge. The default value is 100. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| originAngle | Origin point coordinates of the wedge. |
| amplitude | Nominal angular amplitude of the wedge. The default value is 360. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth, | ||
| bool | fullCircle ) |
Constructs a EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| fullCircle | true (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth ) |
Constructs a EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end ) |
Constructs a EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| eVision::Legacy::EWedge::EWedge | ( | const eVision::Legacy::EWedge & | other | ) |
|
virtual | ||||||||||||
| eVision::Legacy::EWedge::EWedge | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::Legacy::EWedge::CopyTo | ( | eVision::Legacy::EWedge & | other | ) | const |
| eVision::Legacy::EWedge * eVision::Legacy::EWedge::CopyTo | ( | eVision::Legacy::EWedge * | destinationImage | ) | const |
Copies all the data of the current EWedge object into another EWedge object and returns it.
| destinationImage | Pointer to the EWedge object in which the current EWedge object data have to be copied. |
In the overload taking a pointer, in case of a NULL pointer, a new EWedge object will be created and returned.
Use the overload taking a reference.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| float eVision::Legacy::EWedge::GetAmplitude | ( | ) | const |
Angular amplitude of the EWedge.
A 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.
| float eVision::Legacy::EWedge::GetApexAngle | ( | ) | const |
Angular position at the apex of the EWedge.
A 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.
| float eVision::Legacy::EWedge::GetBreadth | ( | ) | const |
| void eVision::Legacy::EWedge::GetCorners | ( | eVision::EPoint & | ar, |
| eVision::EPoint & | AAr, | ||
| eVision::EPoint & | aRR, | ||
| eVision::EPoint & | AARR ) |
| bool eVision::Legacy::EWedge::GetDirect | ( | ) | const |
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.
| void eVision::Legacy::EWedge::GetEdges | ( | eVision::Legacy::ELine & | a, |
| eVision::Legacy::ELine & | AA, | ||
| eVision::Legacy::ECircle & | r, | ||
| eVision::Legacy::ECircle & | RR ) |
| float eVision::Legacy::EWedge::GetEndAngle | ( | ) | const |
Ending angular position of the EWedge.
A 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.
| bool eVision::Legacy::EWedge::GetFullBreadth | ( | ) | const |
Flag indicating if the EWedge has a full breadth (breadth = radius).
| bool eVision::Legacy::EWedge::GetFullCircle | ( | ) | const |
Flag indicating if the EWedge is a full circle (amplitude = 2 PI).
| eVision::EPoint eVision::Legacy::EWedge::GetInnerApex | ( | ) | const |
Inner apex point coordinates of the EWedge.
| float eVision::Legacy::EWedge::GetInnerArcLength | ( | ) | const |
Inner circle arc length of the EWedge.
| float eVision::Legacy::EWedge::GetInnerDiameter | ( | ) | const |
Inner diameter of the EWedge.
| eVision::EPoint eVision::Legacy::EWedge::GetInnerEnd | ( | ) | const |
Inner end point coordinates of the EWedge.
| eVision::EPoint eVision::Legacy::EWedge::GetInnerOrg | ( | ) | const |
Inner origin point coordinates of the EWedge.
| eVision::EPoint eVision::Legacy::EWedge::GetInnerPoint | ( | float | fraction | ) | const |
Returns the coordinates of a particular point specified by its location along the inner circle arc.
| fraction | Point location expressed as a fraction of the circle arc (range [-1, +1]). |
| float eVision::Legacy::EWedge::GetInnerRadius | ( | ) | const |
Inner radius of the EWedge.
| void eVision::Legacy::EWedge::GetMidEdges | ( | eVision::EPoint & | a, |
| eVision::EPoint & | AA, | ||
| eVision::EPoint & | r, | ||
| eVision::EPoint & | RR ) |
| float eVision::Legacy::EWedge::GetOrgAngle | ( | ) | const |
Angular position from where the EWedge extents.
A 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.
| eVision::EPoint eVision::Legacy::EWedge::GetOuterApex | ( | ) | const |
| float eVision::Legacy::EWedge::GetOuterArcLength | ( | ) | const |
| float eVision::Legacy::EWedge::GetOuterDiameter | ( | ) | const |
| eVision::EPoint eVision::Legacy::EWedge::GetOuterEnd | ( | ) | const |
| eVision::EPoint eVision::Legacy::EWedge::GetOuterOrg | ( | ) | const |
| eVision::EPoint eVision::Legacy::EWedge::GetOuterPoint | ( | float | fraction | ) | const |
Returns the coordinates of a particular point specified by its location along the outter circle arc.
| fraction | Point location expressed as a fraction of the circle arc (range [-1, +1]). |
| float eVision::Legacy::EWedge::GetOuterRadius | ( | ) | const |
| eVision::EPoint eVision::Legacy::EWedge::GetPoint | ( | float | breadthFraction, |
| float | angleFraction ) const |
Returns the coordinates of a particular point specified by its location along the wedge perimeter.
| breadthFraction | Point location expressed as a fraction of the wedge breadth (range -1, +1). |
| angleFraction | Point location expressed as a fraction of the wedge amplitude (range -1, +1). |
| eVision::Legacy::EWedge & eVision::Legacy::EWedge::operator= | ( | const eVision::Legacy::EWedge & | other | ) |
| void eVision::Legacy::EWedge::SetAmplitude | ( | float | ampl | ) |
Angular amplitude of the EWedge.
A 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.
| void eVision::Legacy::EWedge::SetDiameters | ( | float | diameter | ) |
Sets the nominal inner/outer diameter and breadth of the EWedge.
| diameter | Outer diameter of the EWedge. The default value is 100. |
A 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 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.
| void eVision::Legacy::EWedge::SetDiameters | ( | float | diameter, |
| float | breadth ) |
Sets the nominal inner/outer diameter and breadth of the EWedge.
| diameter | Outer diameter of the EWedge. The default value is 100. |
| breadth | Breadth of the EWedge. It must be negative or zero. Its default value is -50. |
A 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 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.
| void eVision::Legacy::EWedge::SetDirect | ( | bool | direct | ) |
| void eVision::Legacy::EWedge::SetFromCenterAndOrigin | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
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.
| void eVision::Legacy::EWedge::SetFromCenterAndOrigin | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
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.
| void eVision::Legacy::EWedge::SetFromCenterAndOrigin | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth, | ||
| bool | direct ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
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.
| void eVision::Legacy::EWedge::SetFromOriginMiddleEnd | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
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.
| void eVision::Legacy::EWedge::SetFromOriginMiddleEnd | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
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.
| void eVision::Legacy::EWedge::SetFromOriginMiddleEnd | ( | const eVision::EPoint & | origin, |
| const eVision::EPoint & | middle, | ||
| const eVision::EPoint & | end, | ||
| float | breadth, | ||
| bool | fullCircle ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| origin | Origin point coordinates of the wedge. |
| middle | Middle point coordinates of the wedge. |
| end | End point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| fullCircle | true (default) in case of a full turn wedge. If fullCircle is false, origin and end give the wedge's amplitude. |
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.
| void eVision::Legacy::EWedge::SetFromTwoPoints | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
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.
Use EWedge::SetFromCenterAndOrigin instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| void eVision::Legacy::EWedge::SetFromTwoPoints | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
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.
Use EWedge::SetFromCenterAndOrigin instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| void eVision::Legacy::EWedge::SetFromTwoPoints | ( | const eVision::EPoint & | center, |
| const eVision::EPoint & | origin, | ||
| float | breadth, | ||
| bool | direct ) |
Sets the geometric parameters (nominal position and diameter, breadth, angular position and amplitude) of an EWedge object.
| center | Center coordinates of the wedge at its nominal position. The default value is (0,0). |
| origin | Origin point coordinates of the wedge. |
| breadth | Nominal breadth of the wedge. It must be negative or zero. The default value is -50. |
| direct | true (default) means that angles increase anticlockwise in a direct coordinate system and clockwise in an inverse coordinate system. |
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.
Use EWedge::SetFromCenterAndOrigin instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| void eVision::Legacy::EWedge::SetRadii | ( | float | radius | ) |
Sets the nominal radius and breadth of the EWedge.
| radius | Outer radius of the EWedge. The default value is 50. |
A 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 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.
| void eVision::Legacy::EWedge::SetRadii | ( | float | radius, |
| float | breadth ) |
Sets the nominal radius and breadth of the EWedge.
| radius | Outer radius of the EWedge. The default value is 50. |
| breadth | Breadth of the EWedge, which must be negative or zero. Its default value is -50. |
A 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 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.