Numworks Epsilon  1.4.1
Graphing Calculator Operating System
point.cpp
Go to the documentation of this file.
1 #include <kandinsky/point.h>
2 
4  return KDPoint(m_x+other.x(), m_y+other.y());
5 }
6 
8  return KDPoint(-m_x, -m_y);
9 }
KDCoordinate y() const
Definition: point.h:11
Definition: point.h:6
constexpr KDPoint(KDCoordinate x, KDCoordinate y)
Definition: point.h:8
KDPoint opposite() const
Definition: point.cpp:7
KDCoordinate x() const
Definition: point.h:10
KDPoint translatedBy(KDPoint other) const
Definition: point.cpp:3