19 #ifndef MIR_GEOMETRY_POINT_H_
20 #define MIR_GEOMETRY_POINT_H_
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;
DeltaX & operator+=(DeltaX &lhs, DeltaX rhs)
Definition: dimensions.h:123
std::ostream & operator<<(std::ostream &out, Displacement const &value)
constexpr bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:52
DeltaX & operator-=(DeltaX &lhs, DeltaX rhs)
Definition: dimensions.h:125
constexpr DeltaX operator+(DeltaX lhs, DeltaX rhs)
Definition: dimensions.h:117
constexpr DeltaX operator-(DeltaX lhs, DeltaX rhs)
Definition: dimensions.h:119
constexpr bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:57
Definition: splash_session.h:24
Point & operator=(Point const &)=default
constexpr Point(XType &&x, YType &&y)
Definition: point.h:37
Y y
Definition: point.h:40
X x
Definition: point.h:39
constexpr Point(Point const &)=default
constexpr Point()=default