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