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;
All things Mir.
Definition: atomic_callback.h:25
X x
Definition: point.h:39
DeltaX operator-(DeltaX lhs, DeltaX rhs)
Definition: dimensions.h:119
Y y
Definition: point.h:40
bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:56
Point & operator=(Point const &)=default
bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:51
Point(XType &&x, YType &&y)
Definition: point.h:37
std::ostream & operator<<(std::ostream &out, Displacement const &value)
Definition: ostream.cpp:28
X & operator-=(X &lhs, DeltaX rhs)
Definition: dimensions.h:129
X & operator+=(X &lhs, DeltaX rhs)
Definition: dimensions.h:127
DeltaX operator+(DeltaX lhs, DeltaX rhs)
Definition: dimensions.h:117