#include <CoordinatesHelper.h>
- Author
- Milan Hlinak
- Date
- 04/14/15
| operational_research::CoordinatesHelper::CoordinatesHelper |
( |
double |
x = 0, |
|
|
double |
y = 0 |
|
) |
| |
Constructor for coordinates.
- Parameters
-
| x | x coordinate. |
| y | y coordinate. |
Computes euclidian distance between this coordinates and other coordinates.
- Parameters
-
- Returns
- Euclidian distance between this coordinates and other coordinates.
| double operational_research::CoordinatesHelper::getX |
( |
| ) |
const |
|
inline |
Getter for x coordinate.
- Returns
- x coordinate.
| double operational_research::CoordinatesHelper::getY |
( |
| ) |
const |
|
inline |
Getter for y coordinate.
- Returns
- y coordinate.
The documentation for this class was generated from the following files: