Luna::OffsetBox
Used to specify a 3D box region using offsets with its container box.
template <typename _Ty>
struct Luna::OffsetBox
Parameters
-
_Ty
The type that represents values of the box.
Member objects
-
The left offset of the rectangle from its container.
-
The top offset of the rectangle from its container.
-
The front offset of the rectangle from its container.
-
The right offset of the rectangle from its container.
-
The bottom offset of the rectangle from its container.
-
The back offset of the rectangle from its container.
Member functions
-
Constructs one box. Values of the box is uninitialized.
-
OffsetBox(_Ty left, _Ty top, _Ty front, _Ty right, _Ty bottom, _Ty back)
Constructs one box.
-
bool operator==(const OffsetBox &rhs) const
Compares two boxes for equality.
-
bool operator!=(const OffsetBox &rhs) const
Compares two boxes for non-equality.