Namespace: Rx::LFR – Class: SAreaDetectionArea – Header: Rx.LFR/Types_AreaDetection.h
SAreaDetectionArea Struct
C++
#include "Rx.LFR/Types_AreaDetection.h"
struct SAreaDetectionArea
An AreaDetection Area.
Constructors
SAreaDetectionArea() | |
SAreaDetectionArea(iX, iY, iDetectionWidth, iDetectionHeight, iTemplateWidth, iTemplateHeight, dTemplateRotationAngle, dSimilarityValue) |
Destructor
~SAreaDetectionArea() |
Methods
IsOverlap(xRight) | Determine if two Areas are overlapping each other. |
GetTemplatePosition(uSize) | Gets the position of the template in this area, i.e. the rotated rectangle in the detection area. |
GetCenterX() | Gets center x coordinate. |
GetCenterY() | Gets center y coordinate. |
Variables
iTopLeftX | The top left x coordinate. |
iTopLeftY | The top left y coordinate. |
iDetectionWidth | The width of the detection area used to find this match. |
iDetectionHeight | The height of the detection area used to find this match. |
iTemplateWidth | Width of the template that was found in this match. |
iTemplateHeight | Height of the template that was found in this match. |
dTemplateRotationAngle | The rotation angle of the template that was found in this match. |
dSimilarityValue | The similarity to the template. |