19 #ifndef MIR_GEOMETRY_POINT_H_ 20 #define MIR_GEOMETRY_POINT_H_ 32 constexpr
Point() =
default;
36 template<
typename XType,
typename YType>
45 return lhs.
x == rhs.
x && lhs.
y == rhs.
y;
50 return lhs.
x != rhs.
x || lhs.
y != rhs.
y;
Definition: splash_session.h:24
X x
Definition: point.h:39
constexpr DeltaX operator-(DeltaX lhs, DeltaX rhs)
Definition: dimensions.h:119
Y y
Definition: point.h:40
Point & operator=(Point const &)=default
constexpr Point()=default
constexpr DeltaX operator+(DeltaX lhs, DeltaX rhs)
Definition: dimensions.h:117
constexpr Point(XType &&x, YType &&y)
Definition: point.h:37
std::ostream & operator<<(std::ostream &out, Displacement const &value)
X & operator-=(X &lhs, DeltaX rhs)
Definition: dimensions.h:129
X & operator+=(X &lhs, DeltaX rhs)
Definition: dimensions.h:127
constexpr bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:51
constexpr bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:56