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;
53 std::ostream&
operator<<(std::ostream& out, Point
const& value);
X x
Definition: point.h:39
Y y
Definition: point.h:40
bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:55
Point & operator=(Point const &)=default
bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:50
Point(XType &&x, YType &&y)
Definition: point.h:37
std::ostream & operator<<(std::ostream &out, Displacement const &value)
Definition: ostream.cpp:29