|
Public Member Functions |
| | DPpoint (const point &) |
| | constructor from a point.
|
| | DPpoint (DOUBLE_TYPE, DOUBLE_TYPE) |
| | Constructor for x,y.
|
| | DPpoint (const DPpoint &) |
| | copy constructor
|
| | DPpoint (void) |
| | default constructor
|
| DOUBLE_TYPE | x (void) const |
| | Retruns X coordinate.
|
| DOUBLE_TYPE | y (void) const |
| | Returns Y coordinate.
|
| void | set (DOUBLE_TYPE, DOUBLE_TYPE) |
| | Sets the points x,y coordinate.
|
| void | set (const DPpoint &) |
| | set a point to another point
|
Private Attributes |
| DOUBLE_TYPE | _x |
| DOUBLE_TYPE | _y |
Friends |
| const DPpoint | operator- (const DPpoint &first, const DPpoint &second) |
| const DPpoint | operator+ (const DPpoint &first, const DPpoint &second) |