24 #ifndef ARM_COMPUTE_SIZE2D_H 25 #define ARM_COMPUTE_SIZE2D_H 65 return !(*
this == other);
Size2D()=default
Default constructor.
size_t x() const
Semantic accessor for width as x.
bool operator!=(const Size2D &other) const
Copyright (c) 2017-2021 Arm Limited.
size_t height
Height of the image region or rectangle.
size_t y() const
Semantic accessor for height as y.
Size2D(size_t w, size_t h)
Constructor.
bool operator==(const Size2D &other) const
size_t width
Width of the image region or rectangle.
Class for specifying the size of an image or rectangle.
size_t area() const
The area of the image or rectangle calculated as (width * height)
std::string to_string() const