marble
#include <RouteSegment.h>
Public Member Functions | |
RouteSegment () | |
GeoDataLatLonBox | bounds () const |
qreal | distance () const |
qreal | distanceTo (const GeoDataCoordinates &point, GeoDataCoordinates &closest, GeoDataCoordinates &interpolated) const |
bool | isValid () const |
const Maneuver & | maneuver () const |
qreal | minimalDistanceTo (const GeoDataCoordinates &point) const |
const RouteSegment & | nextRouteSegment () const |
bool | operator!= (const RouteSegment &other) const |
bool | operator== (const RouteSegment &other) const |
const GeoDataLineString & | path () const |
void | setManeuver (const Maneuver &maneuver) |
void | setNextRouteSegment (const RouteSegment *segment) |
void | setPath (const GeoDataLineString &path) |
void | setTravelTime (int seconds) |
int | travelTime () const |
Detailed Description
Definition at line 23 of file RouteSegment.h.
Constructor & Destructor Documentation
Marble::RouteSegment::RouteSegment | ( | ) |
Definition at line 18 of file RouteSegment.cpp.
Member Function Documentation
GeoDataLatLonBox Marble::RouteSegment::bounds | ( | ) | const |
Definition at line 67 of file RouteSegment.cpp.
qreal Marble::RouteSegment::distance | ( | ) | const |
Definition at line 27 of file RouteSegment.cpp.
qreal Marble::RouteSegment::distanceTo | ( | const GeoDataCoordinates & | point, |
GeoDataCoordinates & | closest, | ||
GeoDataCoordinates & | interpolated | ||
) | const |
Definition at line 149 of file RouteSegment.cpp.
bool Marble::RouteSegment::isValid | ( | ) | const |
Definition at line 90 of file RouteSegment.cpp.
const Maneuver & Marble::RouteSegment::maneuver | ( | ) | const |
Definition at line 32 of file RouteSegment.cpp.
qreal Marble::RouteSegment::minimalDistanceTo | ( | const GeoDataCoordinates & | point | ) | const |
Definition at line 177 of file RouteSegment.cpp.
const RouteSegment & Marble::RouteSegment::nextRouteSegment | ( | ) | const |
Definition at line 72 of file RouteSegment.cpp.
bool Marble::RouteSegment::operator!= | ( | const RouteSegment & | other | ) | const |
Definition at line 207 of file RouteSegment.cpp.
bool Marble::RouteSegment::operator== | ( | const RouteSegment & | other | ) | const |
Definition at line 197 of file RouteSegment.cpp.
const GeoDataLineString & Marble::RouteSegment::path | ( | ) | const |
Definition at line 43 of file RouteSegment.cpp.
void Marble::RouteSegment::setManeuver | ( | const Maneuver & | maneuver | ) |
Definition at line 37 of file RouteSegment.cpp.
void Marble::RouteSegment::setNextRouteSegment | ( | const RouteSegment * | segment | ) |
Definition at line 82 of file RouteSegment.cpp.
void Marble::RouteSegment::setPath | ( | const GeoDataLineString & | path | ) |
Definition at line 48 of file RouteSegment.cpp.
void Marble::RouteSegment::setTravelTime | ( | int | seconds | ) |
Definition at line 61 of file RouteSegment.cpp.
int Marble::RouteSegment::travelTime | ( | ) | const |
Definition at line 56 of file RouteSegment.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.