![]() |
Eclipse SUMO - Simulation of Urban MObility
|
view position More...
#include <InternalTest.h>
Public Member Functions | |
int | getX () const |
get x value | |
int | getY () const |
get y value | |
ViewPosition () | |
default constructor | |
ViewPosition (const int xValue, const int yValue) | |
parameter constructor (string) | |
ViewPosition (const std::string &xValue, const std::string &yValue) | |
parameter constructor | |
Private Attributes | |
int | myX = 0 |
x value | |
int | myY = 0 |
y value | |
view position
Definition at line 43 of file InternalTest.h.
InternalTest::ViewPosition::ViewPosition | ( | ) |
default constructor
Definition at line 44 of file InternalTest.cpp.
InternalTest::ViewPosition::ViewPosition | ( | const int | xValue, |
const int | yValue | ||
) |
parameter constructor (string)
Definition at line 47 of file InternalTest.cpp.
InternalTest::ViewPosition::ViewPosition | ( | const std::string & | xValue, |
const std::string & | yValue | ||
) |
parameter constructor
Definition at line 53 of file InternalTest.cpp.
int InternalTest::ViewPosition::getX | ( | ) | const |
get x value
Definition at line 60 of file InternalTest.cpp.
Referenced by InternalTestStep::buildMouseClickEvent(), InternalTestStep::buildMouseMoveEvent(), InternalTest::interpolateViewPositions(), and InternalTestStep::writeClickInfo().
int InternalTest::ViewPosition::getY | ( | ) | const |
get y value
Definition at line 66 of file InternalTest.cpp.
Referenced by InternalTestStep::buildMouseClickEvent(), InternalTestStep::buildMouseMoveEvent(), InternalTest::interpolateViewPositions(), and InternalTestStep::writeClickInfo().
|
private |
x value
Definition at line 63 of file InternalTest.h.
|
private |
y value
Definition at line 66 of file InternalTest.h.