eVision .NET API
Loading...
Searching...
No Matches
eVision.EQuadrangle Struct Reference

This class represents a polygon with four corners (with sub-pixel accuracy). More...

Collaboration diagram for eVision.EQuadrangle:

Public Member Functions

 EQuadrangle (eVision.EPoint[] corners)
 Constructs a EQuadrangle. The default constructor initializes all points to 0.
void SetPoint (uint index, eVision.EPoint location)
 Sets the coordinates of a given corner of the quadrangle.
bool IsInside (eVision.EPoint point, bool includeEdges)
bool IsInside (eVision.EPoint point)
bool IsPointInside (eVision.EPoint point, bool includeEdges)
 Tests if a point is inside the quadrangle.
bool IsPointInside (eVision.EPoint point)
 Tests if a point is inside the quadrangle.
bool IsQuadrangleInside (eVision.EQuadrangle quadrangle, bool includeEdges)
 Tests if a quadrangle is inside the quadrangle.
bool IsQuadrangleInside (eVision.EQuadrangle quadrangle)
 Tests if a quadrangle is inside the quadrangle.
bool OverLaps (eVision.EQuadrangle other)
 Tests if the quadrangles overlap.
float ComputeOverlap (eVision.EQuadrangle other)
 Computes the overlap (intersection / min(area1, area2)) of this and the other EQuadrangle.
eVision.EPoint GetPoint (uint index)
 Returns the coordinate of a given corner of the quadrangle.
float GetSideAngle (uint sideIndex)
 Returns the angle of a given side of the quadrangle.
float GetSideLength (uint sideIndex)
 Returns the length of a given side of the quadrangle.
float GetCornerAngle (uint cornerIndex)
 Returns the angle of a given corner of the quadrangle.
eVision.EQuadrangle SensorToLocal (eVision.EFrame frame)
 Converts the EQuadrangle from the sensor reference frame to the local reference frame.
eVision.EQuadrangle LocalToSensor (eVision.EFrame frame)
 Converts the EQuadrangle from the local reference frame to the sensor reference frame.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, eVision.EFrame frame, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (eVision.EDrawAdapter graphicContext, eVision.ERGBColor color, eVision.EFrame frame)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the quadrangle, by drawing lines between its corners.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void DrawWithCurrentPen (IntPtr graphicContext)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the quadrangle, by drawing lines between its corners.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the quadrangle, by drawing lines between its corners.

Public Attributes

eVision.EPoint Corner0
 Corner 0 of the quadrangle.
eVision.EPoint Corner1
 Corner 1 of the quadrangle.
eVision.EPoint Corner2
 Corner 2 of the quadrangle.
eVision.EPoint Corner3
 Corner 3 of the quadrangle.

Properties

eVision.EPoint GravityCenter [get]
 Returns the gravity center of the quadrangle.
float Area [get]
 Returns the area of the quadrangle.
float Perimeter [get]
 Returns the perimeter of the quadrangle.
eVision.EPoint[] Corners [get]
 The corners of the EQuadrangle.
eVision.EPoint UpperLeftCorner [get]
 Returns the coordinates of the upper left corner of the quadrangle (the position with the minimum Y and then minimum X).

Detailed Description

This class represents a polygon with four corners (with sub-pixel accuracy).

A quadrangle especially arises when representing the corners of a rotated bounding box.

License(s): None

Constructor & Destructor Documentation

◆ EQuadrangle()

eVision.EQuadrangle.EQuadrangle ( eVision.EPoint[] corners)

Constructs a EQuadrangle. The default constructor initializes all points to 0.

Parameters
cornersThe corners of the EQuadrangle.

Member Function Documentation

◆ ComputeOverlap()

float eVision.EQuadrangle.ComputeOverlap ( eVision.EQuadrangle other)

Computes the overlap (intersection / min(area1, area2)) of this and the other EQuadrangle.

Parameters
otherThe other EQuadrangle to which we compute overlap.

◆ Draw() [1/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext)

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [2/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EFrame frame )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
frameFrame of reference in which the quadrangle is defined.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [3/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EFrame frame,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [4/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [5/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [6/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [7/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [8/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [9/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
eVision.EFrame frame )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
frameFrame of reference in which the quadrangle is defined.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [10/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
eVision.EFrame frame,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [11/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [12/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [13/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [14/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
frameFrame of reference in which the quadrangle is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [15/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [16/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [17/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [18/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [19/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [20/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [21/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [22/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [23/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [24/48]

void eVision.EQuadrangle.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

◆ Draw() [25/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext)

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [26/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
eVision.ERGBColor color )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [27/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [28/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [29/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [30/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [31/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [32/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [33/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [34/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [35/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [36/48]

void eVision.EQuadrangle.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [37/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext)

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [38/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [39/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [40/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [41/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [42/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [43/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
colorThe color in which to draw the overlay.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [44/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [45/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [46/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [47/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ Draw() [48/48]

void eVision.EQuadrangle.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [1/6]

void eVision.EQuadrangle.DrawWithCurrentPen ( IntPtr graphicContext)

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [2/6]

void eVision.EQuadrangle.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [3/6]

void eVision.EQuadrangle.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [4/6]

void eVision.EQuadrangle.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [5/6]

void eVision.EQuadrangle.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [6/6]

void eVision.EQuadrangle.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the quadrangle, by drawing lines between its corners.

Parameters
graphicContextGraphic context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsSpecifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

Drawing is done in the device context associated to the desired window.

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

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

◆ GetCornerAngle()

float eVision.EQuadrangle.GetCornerAngle ( uint cornerIndex)

Returns the angle of a given corner of the quadrangle.

Parameters
cornerIndexThe index of the corner of interest (must lie in the range between 0 and 3, inclusive).

◆ GetPoint()

eVision.EPoint eVision.EQuadrangle.GetPoint ( uint index)

Returns the coordinate of a given corner of the quadrangle.

Parameters
indexThe index of the corner of interest (must lie in the range between 0 and 3, inclusive).

◆ GetSideAngle()

float eVision.EQuadrangle.GetSideAngle ( uint sideIndex)

Returns the angle of a given side of the quadrangle.

Side i is the line between corner i and corner (i+1)%4.

Parameters
sideIndexThe index of the side of interest (must lie in the range between 0 and 3, inclusive).

◆ GetSideLength()

float eVision.EQuadrangle.GetSideLength ( uint sideIndex)

Returns the length of a given side of the quadrangle.

Side i is the line between corner i and corner (i+1)%4.

Parameters
sideIndexThe index of the side of interest (must lie in the range between 0 and 3, inclusive).

◆ IsInside() [1/2]

bool eVision.EQuadrangle.IsInside ( eVision.EPoint point)

◆ IsInside() [2/2]

bool eVision.EQuadrangle.IsInside ( eVision.EPoint point,
bool includeEdges )

◆ IsPointInside() [1/2]

bool eVision.EQuadrangle.IsPointInside ( eVision.EPoint point)

Tests if a point is inside the quadrangle.

Parameters
pointThe point.

◆ IsPointInside() [2/2]

bool eVision.EQuadrangle.IsPointInside ( eVision.EPoint point,
bool includeEdges )

Tests if a point is inside the quadrangle.

Parameters
pointThe point.
includeEdgesTakes the edges as part of the interior of the EQuadrangle. Default: false.

◆ IsQuadrangleInside() [1/2]

bool eVision.EQuadrangle.IsQuadrangleInside ( eVision.EQuadrangle quadrangle)

Tests if a quadrangle is inside the quadrangle.

Parameters
quadrangleThe other quadrangle that is inside the EQuadrangle or not

◆ IsQuadrangleInside() [2/2]

bool eVision.EQuadrangle.IsQuadrangleInside ( eVision.EQuadrangle quadrangle,
bool includeEdges )

Tests if a quadrangle is inside the quadrangle.

Parameters
quadrangleThe other quadrangle that is inside the EQuadrangle or not
includeEdgesTakes the edges as part of the interior of the EQuadrangle. Default: false.

◆ LocalToSensor()

eVision.EQuadrangle eVision.EQuadrangle.LocalToSensor ( eVision.EFrame frame)

Converts the EQuadrangle from the local reference frame to the sensor reference frame.

Parameters
frameReference frame in which the EQuadrangle is defined.

◆ OverLaps()

bool eVision.EQuadrangle.OverLaps ( eVision.EQuadrangle other)

Tests if the quadrangles overlap.

Parameters
otherThe EQuadrangle to test.

◆ SensorToLocal()

eVision.EQuadrangle eVision.EQuadrangle.SensorToLocal ( eVision.EFrame frame)

Converts the EQuadrangle from the sensor reference frame to the local reference frame.

Parameters
frameReference frame in which the EQuadrangle is defined.

◆ SetPoint()

void eVision.EQuadrangle.SetPoint ( uint index,
eVision.EPoint location )

Sets the coordinates of a given corner of the quadrangle.

Parameters
indexThe index of the corner of interest (must lie in the range between 0 and 3, inclusive).
locationThe coordinate.

Member Data Documentation

◆ Corner0

eVision.EPoint eVision.EQuadrangle.Corner0

Corner 0 of the quadrangle.

◆ Corner1

eVision.EPoint eVision.EQuadrangle.Corner1

Corner 1 of the quadrangle.

◆ Corner2

eVision.EPoint eVision.EQuadrangle.Corner2

Corner 2 of the quadrangle.

◆ Corner3

eVision.EPoint eVision.EQuadrangle.Corner3

Corner 3 of the quadrangle.

Property Documentation

◆ Area

float eVision.EQuadrangle.Area
get

Returns the area of the quadrangle.

◆ Corners

eVision.EPoint [] eVision.EQuadrangle.Corners
get

The corners of the EQuadrangle.

If the EQuadrangle belongs to an EQRCodeGeometry object, the corners are returned in the following order: top right, top left, bottom left, bottom right. If the EQuadrangle belongs to an EBarCode or EMatrixCode object, the corners are returned in the following order: top left, top right, bottom right, bottom left. Here, top left and so on means the top left of the code, not the top left of the image.

◆ GravityCenter

eVision.EPoint eVision.EQuadrangle.GravityCenter
get

Returns the gravity center of the quadrangle.

◆ Perimeter

float eVision.EQuadrangle.Perimeter
get

Returns the perimeter of the quadrangle.

◆ UpperLeftCorner

eVision.EPoint eVision.EQuadrangle.UpperLeftCorner
get

Returns the coordinates of the upper left corner of the quadrangle (the position with the minimum Y and then minimum X).