This is a struct that contains a position defined by a BorderID and a progress on that border.
More...
#include <laneposition.h>
This is a struct that contains a position defined by a BorderID and a progress on that border.
◆ LanePosition() [1/3]
adore::env::BorderBased::LanePosition::LanePosition |
( |
| ) |
|
|
inline |
◆ LanePosition() [2/3]
adore::env::BorderBased::LanePosition::LanePosition |
( |
const BorderID & |
id, |
|
|
double |
progress |
|
) |
| |
|
inline |
Construct a new LanePosition.
- Parameters
-
id | BorderID to speify the Position |
progress | Progress to specify the Position relative to the border |
◆ LanePosition() [3/3]
adore::env::BorderBased::LanePosition::LanePosition |
( |
const LanePosition & |
pos | ) |
|
|
inline |
◆ operator==()
bool adore::env::BorderBased::LanePosition::operator== |
( |
const LanePosition & |
other | ) |
const |
|
inline |
Check two LanePositions for equality.
- Parameters
-
- Returns
- true if the LanePositions are equal
-
false if the LanePositions are different
◆ rotate()
void adore::env::BorderBased::LanePosition::rotate |
( |
double |
angle, |
|
|
double |
x0 = 0 , |
|
|
double |
y0 = 0 |
|
) |
| |
|
inline |
◆ toString()
std::string adore::env::BorderBased::LanePosition::toString |
( |
| ) |
const |
|
inline |
Extract the information of the LanePosition to a string.
- Returns
- std::string that holds the information
◆ translate()
void adore::env::BorderBased::LanePosition::translate |
( |
double |
dx, |
|
|
double |
dy, |
|
|
double |
dz |
|
) |
| |
|
inline |
Translate the LanePosition by translating the BorderID.
- Parameters
-
dx | move x-coordinate by this value |
dy | move y-coordinate by this value |
dz | move z-coordinate by this value |
◆ m_progress
double adore::env::BorderBased::LanePosition::m_progress |
◆ m_rightID
BorderID adore::env::BorderBased::LanePosition::m_rightID |
The documentation for this struct was generated from the following file:
- /home/fascar/temp/adore/libadore/libadore/adore/env/include/adore/env/borderbased/laneposition.h