#include <LogicalPositionInfo.h>
|
|
| LogicalPositionInfo3D ()=default |
| | Default constructor, all properties are initialized to invalid values.
|
| |
| | LogicalPositionInfo3D (double x, double y, double z, double w, double h, double d) |
| |
| | LogicalPositionInfo3D (double x, double y, double z, double w, double h, double d, int pyrLvl) |
| |
| bool | operator== (const LogicalPositionInfo3D &rhs) const |
| |
| bool | operator!= (const LogicalPositionInfo3D &rhs) const |
| |
|
|
double | posX { std::numeric_limits<double>::quiet_NaN() } |
| | The x coordinate of the top left point.
|
| |
|
double | posY { std::numeric_limits<double>::quiet_NaN() } |
| | The y coordinate of the top left point.
|
| |
|
double | posZ { std::numeric_limits<double>::quiet_NaN() } |
| | The z coordinate of the top left point.
|
| |
|
double | width { std::numeric_limits<double>::quiet_NaN() } |
| | The width.
|
| |
|
double | height { std::numeric_limits<double>::quiet_NaN() } |
| | The height.
|
| |
|
double | depth { std::numeric_limits<double>::quiet_NaN() } |
| | The depth.
|
| |
|
int | pyrLvl { std::numeric_limits<int>::min() } |
| | The pyramid level.
|
| |
This structure defines the "logical position" of a tile in the 3D-document model. It is given by a (axis-aligned) cuboid (in the plane-pixel-coordinate-system) and the pyramid-level.
◆ LogicalPositionInfo3D() [1/2]
| imgdoc2::LogicalPositionInfo3D::LogicalPositionInfo3D |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
w, |
|
|
double |
h, |
|
|
double |
d |
|
) |
| |
|
inline |
Constructor initializing the cuboid and setting the pyramid-level to invalid values.
- Parameters
-
| x | The x coordinate of the top left point. |
| y | The y coordinate of the top left point. |
| z | The z coordinate of the top left point. |
| w | The width. |
| h | The height. |
| d | The depth. |
◆ LogicalPositionInfo3D() [2/2]
| imgdoc2::LogicalPositionInfo3D::LogicalPositionInfo3D |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
w, |
|
|
double |
h, |
|
|
double |
d, |
|
|
int |
pyrLvl |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| x | The x coordinate of the top left point. |
| y | The y coordinate of the top left point. |
| z | The z coordinate of the top left point. |
| w | The width. |
| h | The height. |
| d | The depth. |
| pyrLvl | The pyramid level. |
◆ operator!=()
Inequality operator (where the coordinates are compared with an epsilon).
- Parameters
-
- Returns
- True if the parameters are not considered equivalent.
◆ operator==()
Equality operator (where the coordinates are compared with an epsilon).
- Parameters
-
- Returns
- True if the parameters are considered equivalent.
The documentation for this struct was generated from the following file: