eVision .NET API
Loading...
Searching...
No Matches
eVision.ERotatedBoundingBox Class Reference

This class represents a rotated bounding box. More...

Inheritance diagram for eVision.ERotatedBoundingBox:
Collaboration diagram for eVision.ERotatedBoundingBox:

Public Member Functions

 ERotatedBoundingBox (float centerX, float centerY, float width, float height, float angle)
 Constructor of the rotated bounding box.
 ERotatedBoundingBox (float centerX, float centerY, float width, float height)
 Constructor of the rotated bounding box.
 ERotatedBoundingBox ()
 Constructor of the rotated bounding box.
 ERotatedBoundingBox (eVision.ERotatedBoundingBox other)
eVision.ERotatedBoundingBox LocalToGlobalBox (eVision.ERotatedBoundingBox localBox)
 Transforms a (local) rotated bounding box, as another (global) rotated bounding box whose coordinates are defined relatively to the current rotated bounding box.
eVision.EPoint LocalToGlobalPoint (eVision.EPoint localPoint)
 Transforms a (local) point, as another (global) point whose coordinates are defined relatively to the current rotated bounding box.
void Translate (float offsetX, float offsetY)
 Applies a translation on the center of the bounding box.
void Scale (float scaleWidth, float scaleHeight)
 Applies a scale to the size of the bounding box.
void Rotate (float angle)
 Applies a rotation to the bounding box. The bounding box center is the center of rotation.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame, float zoomX)
 Draws the rotated bounding box.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EFrame frame)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, float zoomX)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the rotated bounding box.
void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the rotated bounding box.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the rotated bounding box.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX)
 Draws the rotated bounding box.
void DrawWithCurrentPen (IntPtr graphicContext)
 Draws the rotated bounding box.
eVision.ERotatedBoundingBox LocalToSensor (eVision.EFrame frame)
 Transforms a ERotatedBoundingBox from local to sensor coordinates.
eVision.ERotatedBoundingBox SensorToLocal (eVision.EFrame frame)
 Transforms a ERotatedBoundingBox from sensor to local coordinates.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, float zoomX)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the rotated bounding box.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the rotated bounding box.

Properties

eVision.EQuadrangle Quadrangle [get]
 Returns the coordinates of the four corners of the bounding box.
float CenterX [get]
 Returns the abscissa of the center of the bounding box.
float CenterY [get]
 Returns the ordinate of the center of the bounding box.
eVision.EPoint Center [get]
 Returns the coordinate of the center of the bounding box.
float Width [get]
 Returns the width of the bounding box.
float Height [get]
 Returns the height of the bounding box.
float Angle [get]
 Returns the angle of the bounding box (in the current angle units).
eVision.EPoint UpperLeftCorner [get]
 Returns the coordinates of the upper left corner of the bounding box (the position with the minimum Y and then minimum X).
eVision.ELine MajorAxis [get]
 Returns the major axis of the ERotatedBoundingBox as an ELine.

Detailed Description

This class represents a rotated bounding box.

The rotated bounding box is a rotated, rectangular surface. Its coordinates are floating-point, which makes this class appropriate to handle sub-pixel surfaces.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ERotatedBoundingBox() [1/4]

eVision.ERotatedBoundingBox.ERotatedBoundingBox ( float centerX,
float centerY,
float width,
float height,
float angle )

Constructor of the rotated bounding box.

Parameters
centerXThe abscissa of the center of the bounding box.
centerYThe ordinate of the center of the bounding box.
widthThe width of the bounding box.
heightThe height of the bounding box.
angleThe angle of the bounding box (in the current angle units).

◆ ERotatedBoundingBox() [2/4]

eVision.ERotatedBoundingBox.ERotatedBoundingBox ( float centerX,
float centerY,
float width,
float height )

Constructor of the rotated bounding box.

Parameters
centerXThe abscissa of the center of the bounding box.
centerYThe ordinate of the center of the bounding box.
widthThe width of the bounding box.
heightThe height of the bounding box.

◆ ERotatedBoundingBox() [3/4]

eVision.ERotatedBoundingBox.ERotatedBoundingBox ( )

Constructor of the rotated bounding box.

◆ ERotatedBoundingBox() [4/4]

eVision.ERotatedBoundingBox.ERotatedBoundingBox ( eVision.ERotatedBoundingBox other)
Parameters
otherThe other ERotatedBoundingBox that we will copy into this one.

Member Function Documentation

◆ Draw() [1/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.

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

◆ Draw() [2/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.
frameFrame associated with the rectangle.

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

◆ Draw() [3/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.
frameFrame associated with the rectangle.
zoomXHorizontal zooming factor. By default, true scale is used.

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

◆ Draw() [4/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.
frameFrame associated with the rectangle.
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.

◆ Draw() [5/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.
frameFrame associated with the rectangle.
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.

◆ Draw() [6/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.
frameFrame associated with the rectangle.
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 factor. By default, no panning occurs.

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

◆ Draw() [7/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.
frameFrame associated with the rectangle.
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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

◆ Draw() [8/36]

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

Draws the rotated bounding box.

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.

◆ Draw() [9/36]

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

Draws the rotated bounding box.

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.

◆ Draw() [10/36]

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

Draws the rotated bounding box.

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.

◆ Draw() [11/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.

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

◆ Draw() [12/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

◆ Draw() [13/36]

void eVision.ERotatedBoundingBox.Draw ( IntPtr graphicContext)

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [14/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [15/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [16/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [17/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [18/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [19/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [20/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [21/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [22/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [23/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [24/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [25/36]

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

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [26/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [27/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [28/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [29/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [30/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [31/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [32/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [33/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [34/36]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [35/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ Draw() [36/36]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [1/6]

void eVision.ERotatedBoundingBox.DrawWithCurrentPen ( IntPtr graphicContext)

Draws the rotated bounding box.

Parameters
graphicContextGraphic context on which to draw.

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

Deprecated

Use the overload of ERotatedBoundingBox.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [2/6]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload of ERotatedBoundingBox.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [3/6]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload of ERotatedBoundingBox.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [4/6]

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

Draws the rotated bounding box.

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.

Deprecated

Use the overload of ERotatedBoundingBox.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [5/6]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.

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

Deprecated

Use the overload of ERotatedBoundingBox.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ DrawWithCurrentPen() [6/6]

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

Draws the rotated bounding box.

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 factor. By default, no panning occurs.
drawDiagonalsSpecifies whether the diagonals of the bounding box are drawn.

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

Deprecated

Use the overload of ERotatedBoundingBox.Draw taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

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

◆ LocalToGlobalBox()

eVision.ERotatedBoundingBox eVision.ERotatedBoundingBox.LocalToGlobalBox ( eVision.ERotatedBoundingBox localBox)

Transforms a (local) rotated bounding box, as another (global) rotated bounding box whose coordinates are defined relatively to the current rotated bounding box.

Parameters
localBoxThe local rotated box.

◆ LocalToGlobalPoint()

eVision.EPoint eVision.ERotatedBoundingBox.LocalToGlobalPoint ( eVision.EPoint localPoint)

Transforms a (local) point, as another (global) point whose coordinates are defined relatively to the current rotated bounding box.

Parameters
localPointThe local point.

◆ LocalToSensor()

eVision.ERotatedBoundingBox eVision.ERotatedBoundingBox.LocalToSensor ( eVision.EFrame frame)

Transforms a ERotatedBoundingBox from local to sensor coordinates.

Parameters
frameReference frame in which the region is defined. Frame must be affine and isotropic.

◆ Rotate()

void eVision.ERotatedBoundingBox.Rotate ( float angle)

Applies a rotation to the bounding box. The bounding box center is the center of rotation.

Parameters
angleThe rotation angle.

◆ Scale()

void eVision.ERotatedBoundingBox.Scale ( float scaleWidth,
float scaleHeight )

Applies a scale to the size of the bounding box.

Parameters
scaleWidthThe scale to apply to the width.
scaleHeightThe scale to apply to the height.

◆ SensorToLocal()

eVision.ERotatedBoundingBox eVision.ERotatedBoundingBox.SensorToLocal ( eVision.EFrame frame)

Transforms a ERotatedBoundingBox from sensor to local coordinates.

Parameters
frameReference frame in which the region is defined. Frame must be affine and isotropic.

◆ Translate()

void eVision.ERotatedBoundingBox.Translate ( float offsetX,
float offsetY )

Applies a translation on the center of the bounding box.

Parameters
offsetXThe offset along the X-axis.
offsetYThe offset along the Y-axis.

Property Documentation

◆ Angle

float eVision.ERotatedBoundingBox.Angle
get

Returns the angle of the bounding box (in the current angle units).

◆ Center

eVision.EPoint eVision.ERotatedBoundingBox.Center
get

Returns the coordinate of the center of the bounding box.

◆ CenterX

float eVision.ERotatedBoundingBox.CenterX
get

Returns the abscissa of the center of the bounding box.

◆ CenterY

float eVision.ERotatedBoundingBox.CenterY
get

Returns the ordinate of the center of the bounding box.

◆ Height

float eVision.ERotatedBoundingBox.Height
get

Returns the height of the bounding box.

◆ MajorAxis

eVision.ELine eVision.ERotatedBoundingBox.MajorAxis
get

Returns the major axis of the ERotatedBoundingBox as an ELine.

◆ Quadrangle

eVision.EQuadrangle eVision.ERotatedBoundingBox.Quadrangle
get

Returns the coordinates of the four corners of the bounding box.

◆ UpperLeftCorner

eVision.EPoint eVision.ERotatedBoundingBox.UpperLeftCorner
get

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

◆ Width

float eVision.ERotatedBoundingBox.Width
get

Returns the width of the bounding box.