#include <TxqDoublePoint.h>
Public Methods | |
| TxqDoublePoint () | |
| Constructs and initializes a point at the origin (0.,0.) of the coordinate space. More... | |
| TxqDoublePoint (QPoint p) | |
| Constructs and initializes a point with the same location as the specified QPoint object. More... | |
| TxqDoublePoint (int x, int y) | |
| Constructs and initializes a point at the specified integer (x,y) location in the coordinate space. More... | |
| TxqDoublePoint (double x, double y) | |
| Constructs and initializes a point at the specified double (x,y) location in the coordinate space. More... | |
| void | setX (double value) |
| Sets the x coordinate of the point to the specified double value. More... | |
| void | setX (int value) |
| Sets the x coordinate of the point to the specified integer value. More... | |
| void | setY (double value) |
| Sets the y coordinate of the point to the specified double value. More... | |
| void | setY (int value) |
| Sets the y coordinate of the point to the specified integer value. More... | |
| double | getDblx () |
| Get the double x coordinate value. More... | |
| int | getIntx () |
| Get the integer x coordinate value. More... | |
| double | getDbly () |
| Get the double y coordinate value. More... | |
| int | getInty () |
| Get the integer y coordinate value. More... | |
| void | translate (double dx, double dy) |
| Adds the specified dx and dy double values to the current coordinates. More... | |
| void | translate (int dx, int dy) |
| Adds the specified dx and dy integer values to the current coordinates. More... | |
| virtual | ~TxqDoublePoint () |
| The Destructor. More... | |
Public Attributes | |
| double | dblx |
| The double x coordinate data member. More... | |
| double | dbly |
| The double y coordinate data member. More... | |
| int | intx |
| The integer x coordinate data member. More... | |
| int | inty |
| The integer y coordinate data member. More... | |
Definition at line 25 of file TxqDoublePoint.h.
|
|
Constructs and initializes a point at the origin (0.,0.) of the coordinate space.
Definition at line 34 of file TxqDoublePoint.h. Referenced by TxqDoublePoint().
|
|
|
Constructs and initializes a point with the same location as the specified QPoint object.
Definition at line 43 of file TxqDoublePoint.h. |
|
|
Constructs and initializes a point at the specified integer (x,y) location in the coordinate space.
Definition at line 53 of file TxqDoublePoint.h. |
|
|
Constructs and initializes a point at the specified double (x,y) location in the coordinate space.
Definition at line 64 of file TxqDoublePoint.h. |
|
|
The Destructor.
Definition at line 170 of file TxqDoublePoint.h. |
|
|
Get the double x coordinate value.
Definition at line 113 of file TxqDoublePoint.h. |
|
|
Get the double y coordinate value.
Definition at line 129 of file TxqDoublePoint.h. |
|
|
Get the integer x coordinate value.
Definition at line 121 of file TxqDoublePoint.h. |
|
|
Get the integer y coordinate value.
Definition at line 137 of file TxqDoublePoint.h. |
|
|
Sets the x coordinate of the point to the specified integer value.
Definition at line 84 of file TxqDoublePoint.h. |
|
|
Sets the x coordinate of the point to the specified double value.
Definition at line 74 of file TxqDoublePoint.h. Referenced by TxqDoublePoint().
|
|
|
Sets the y coordinate of the point to the specified integer value.
Definition at line 104 of file TxqDoublePoint.h. |
|
|
Sets the y coordinate of the point to the specified double value.
Definition at line 94 of file TxqDoublePoint.h. Referenced by TxqDoublePoint().
|
|
|
Adds the specified dx and dy integer values to the current coordinates.
Definition at line 160 of file TxqDoublePoint.h. |
|
|
Adds the specified dx and dy double values to the current coordinates.
Definition at line 147 of file TxqDoublePoint.h. |
|
|
The double x coordinate data member.
Definition at line 175 of file TxqDoublePoint.h. |
|
|
The double y coordinate data member.
Definition at line 180 of file TxqDoublePoint.h. |
|
|
The integer x coordinate data member.
Definition at line 185 of file TxqDoublePoint.h. |
|
|
The integer y coordinate data member.
Definition at line 190 of file TxqDoublePoint.h. |
Copyright Tech-X Corporation, all rights reserved.