22#include <olp/core/math/Vector.h>
118 return size_.
x ==
T() || size_.
y ==
T();
133 return lhs.width() ==
rhs.width() &&
lhs.height() ==
rhs.height();
137bool operator!=(
const Size2<T>& lhs,
const Size2<T>& rhs) {
138 return !(lhs == rhs);
Represents the 2D size.
Definition Size.h:28
T Value
An alias for the value type.
Definition Size.h:31
Value Width() const
Gets the width of the Size2 object.
Definition Size.h:122
Value Height() const
Gets the height of the Size2 object.
Definition Size.h:127
bool empty() const
Checks whether the size is empty.
Definition Size.h:117
Size2()
Creates an uninitialized Size2 instance.
Definition Size.h:97
Rules all the other namespaces.
Definition AppleSignInProperties.h:24
Represents 3D vectors and points.
Definition Vector.h:86
T y
The Y component of the vector.
Definition Vector.h:149
T x
The X component of the vector.
Definition Vector.h:147