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