![]() |
Trax3 3.1.0
trax track library
|
A TrackLocation ist a location on a single track. More...
#include <C:/Trend/Development/Trax3/Code/trax/TrackLocation.h>
Public Member Functions | |||||
| bool | operator== (const TrackLocation &tl) const noexcept | ||||
| bool | operator!= (const TrackLocation &tl) const noexcept | ||||
| bool | Equals (const TrackLocation &loc, Length _epsilon) const noexcept | ||||
| void | Flip () noexcept | ||||
| Turns the orientation of this TrackLocation to the other side. | |||||
Construction | |||||
| |||||
| TrackLocation (Length param) noexcept | |||||
| TrackLocation (Length param, bool orient) noexcept | |||||
| TrackLocation (Length param, Orientation::Value orient) noexcept | |||||
| TrackLocation (Length param, Orientation orient) noexcept | |||||
Public Attributes | |
| Length | parameter |
| Parameter along a track starting from Track::front. | |
| Orientation | orientation |
| Orientation on the track. True means orientation in track direction. | |
A TrackLocation ist a location on a single track.
The location on a track is specified by a single parameter giving the arc length along the track from its start and a second value determining the orientation.
|
inlinenoexcept |
| loc | TrackLocation to compare with. |
| _epsilon | Threshold for parameter equality. |