kig
coordinate.h
Go to the documentation of this file.
const Coordinate operator-(const Coordinate &a, const Coordinate &b)
Definition: coordinate.cpp:44
friend const Coordinate operator/(const Coordinate &a, double r)
Scale.
Definition: coordinate.cpp:59
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
friend const Coordinate operator*(const Coordinate &a, double r)
Scale.
Definition: coordinate.cpp:49
double distance(const Coordinate &p) const
Distance to another Coordinate.
Definition: coordinate.cpp:139
friend QDebug & operator<<(QDebug &s, const Coordinate &t)
Definition: coordinate.cpp:33
friend const Coordinate operator+(const Coordinate &a, const Coordinate &b)
Add.
Definition: coordinate.cpp:39
friend bool operator!=(const Coordinate &, const Coordinate &)
Not Equal.
Definition: coordinate.cpp:69
const Coordinate operator+(const Coordinate &a, const Coordinate &b)
Definition: coordinate.cpp:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.