KoPoint Class Reference
#include <KoPoint.h>
Public Member Functions | |
| KoPoint (const double &x, const double &y) | |
| KoPoint (const TQPoint &p) | |
| bool | operator== (const KoPoint &rhs) const |
| bool | operator!= (const KoPoint &rhs) const |
| bool | isNull () const |
| double | x () const |
| double | y () const |
| void | setX (const double &x) |
| void | setY (const double &y) |
| double & | rx () |
| double & | ry () |
| KoPoint & | operator= (const KoPoint &rhs) |
| KoPoint & | operator+= (const KoPoint &rhs) |
| KoPoint & | operator-= (const KoPoint &rhs) |
| KoPoint & | operator*= (const double &c) |
| void | setCoords (const double &x, const double &y) |
| KoPoint | transform (const TQWMatrix &m) const |
| bool | isNear (const KoPoint &p, double range) const |
| double | manhattanLength () const |
| TQPoint | toTQPoint () const |
Static Public Member Functions | |
| static double | getAngle (const KoPoint &p1, const KoPoint &p2) |
Friends | |
| KoPoint | operator+ (const KoPoint &p1, const KoPoint &p2) |
| KoPoint | operator- (const KoPoint &p1, const KoPoint &p2) |
| KoPoint | operator* (const KoPoint &p, const double &c) |
| KoPoint | operator* (const double &c, const KoPoint &p) |
| double | operator* (const KoPoint &a, const KoPoint &b) |
Detailed Description
A point whose coordinates are floating-point values ( "double"s ).
The API isn't documented, it's a perfect mirror of TQPoint.
Constructor & Destructor Documentation
◆ KoPoint() [1/3]
◆ KoPoint() [2/3]
|
inline |
◆ KoPoint() [3/3]
◆ ~KoPoint()
Member Function Documentation
◆ getAngle()
◆ isNear()
|
inline |
◆ isNull()
◆ manhattanLength()
◆ operator!=()
|
inline |
◆ operator*=()
◆ operator+=()
◆ operator-=()
◆ operator=()
◆ operator==()
|
inline |
◆ rx()
◆ ry()
◆ setCoords()
|
inline |
◆ setX()
◆ setY()
◆ toTQPoint()
|
inline |
◆ transform()
|
inline |
◆ x()
◆ y()
Friends And Related Symbol Documentation
◆ operator* [1/3]
◆ operator* [2/3]
◆ operator* [3/3]
◆ operator+
◆ operator-
The documentation for this class was generated from the following file:
