A frame and its weight.
More...
#include <SignDocSDK-cpp.h>
|
| SignDocWeightedFrame () |
| Constructor. More...
|
|
| SignDocWeightedFrame (int aX1, int aY1, int aX2, int aY2, double aWeight) |
| Constructor. More...
|
|
| SignDocWeightedFrame (const SignDocWeightedFrame &aSource) |
| Copy constructor. More...
|
|
| ~SignDocWeightedFrame () |
| Destructor. More...
|
|
double | getWeight () const |
| Get the weight. More...
|
|
| SignDocImageRect () |
| Constructor. More...
|
|
| SignDocImageRect (int aX1, int aY1, int aX2, int aY2) |
| Constructor. More...
|
|
| SignDocImageRect (const SignDocImageRect &aSource) |
| Copy constructor. More...
|
|
void | set (int aX1, int aY1, int aX2, int aY2) |
| Set the coordinates of the rectangle. More...
|
|
| ~SignDocImageRect () |
| Destructor. More...
|
|
int | getWidth () const |
| Get the width of the rectangle. More...
|
|
int | getHeight () const |
| Get the height of the rectangle. More...
|
|
void | normalize () |
| Normalize the rectangle. More...
|
|
bool | isEmpty () const |
| Check if the rectangle is empty. More...
|
|
void | intersectWith (const SignDocImageRect &aOther) |
| Intersect this rectangle with another one. More...
|
|
void | uniteWith (const SignDocImageRect &aOther) |
| Unite this rectangle with another one. More...
|
|
int | getX1 () const |
| Get the first X coordinate. More...
|
|
int | getY1 () const |
| Get the first Y coordinate. More...
|
|
int | getX2 () const |
| Get the second X coordinate. More...
|
|
int | getY2 () const |
| Get the second Y coordinate. More...
|
|
A frame and its weight.
This class uses images coordinates, see Coordinate Systems.
Constructor.
All coordinates and the weight will be 0.
Constructor.
- Parameters
-
[in] | aX1 | The first X coordinate. |
[in] | aY1 | The first Y coordinate. |
[in] | aX2 | The second X coordinate. |
[in] | aY2 | The second Y coordinate. |
[in] | aWeight | The weight (0.0 through 1.0, not checked). |
Copy constructor.
- Parameters
-
[in] | aSource | The object to be copied. |
double getWeight |
( |
| ) |
const |
|
inline |
Get the weight.
- Returns
- The weight.
The weight (0.0 through 1.0).
The documentation for this class was generated from the following file: