#include <Distance.h>
◆ Distance() [1/3]
osmscout::Distance::Distance |
( |
| ) |
|
|
default |
◆ ~Distance()
osmscout::Distance::~Distance |
( |
| ) |
|
|
default |
◆ Distance() [2/3]
osmscout::Distance::Distance |
( |
const Distance & |
d | ) |
|
|
default |
◆ Distance() [3/3]
osmscout::Distance::Distance |
( |
Distance && |
d | ) |
|
|
inlinenoexcept |
◆ As()
template<typename Unit >
double osmscout::Distance::As |
( |
| ) |
const |
|
inline |
Referenced by osmscout::AbstractRoutingService< MultiDBRoutingState >::CalculateRoute(), osmscout::ShortestPathRoutingProfile::GetCosts(), osmscout::FastestPathRoutingProfile::GetCosts(), osmscout::GetEllipsoidalDistance(), osmscout::AbstractRoutingProfile::GetTime2(), osmscout::VoiceInstructionAgent::Process(), osmscout::Meter::Value(), osmscout::Kilometer::Value(), osmscout::Feet::Value(), osmscout::Yard::Value(), and osmscout::Mile::Value().
◆ AsMeter()
double osmscout::Distance::AsMeter |
( |
| ) |
const |
|
inline |
Referenced by osmscout::GeoCoord::Add(), osmscout::NearPOIModel::data(), osmscout::LocationListModel::data(), osmscout::LocationInfoModel::distance(), osmscout::LocationEntry::distanceTo(), osmscout::RouteStep::getDistance(), osmscout::RouteStep::getDistanceDelta(), osmscout::GetDistanceInLonDegrees(), osmscout::RouteStep::getDistanceTo(), osmscout::PositionAgent::GpsPosition::GetGeoBox(), osmscout::NearPOIModel::onLookupResult(), osmscout::NavigationModel::onTargetReached(), osmscout::ElevationChartWidget::paint(), osmscout::ArrivalEstimateAgent::Process(), osmscout::SpeedAgent::Process(), osmscout::PositionAgent::Process(), and osmscout::VoiceInstructionAgent::Process().
◆ AsString()
std::string osmscout::Distance::AsString |
( |
| ) |
const |
◆ Lowest()
returns the lowest finite value of the given type
- Returns
References Distance().
◆ Max() [1/2]
◆ Max() [2/2]
◆ Min() [1/2]
returns the smallest finite value of the given type
- Returns
References Distance().
◆ Min() [2/2]
◆ Of()
template<typename Unit >
static Distance osmscout::Distance::Of |
( |
double |
value | ) |
|
|
inlinestatic |
◆ operator!=()
bool osmscout::Distance::operator!= |
( |
const Distance & |
d | ) |
const |
|
inline |
◆ operator*()
Distance osmscout::Distance::operator* |
( |
double |
factor | ) |
const |
|
inline |
◆ operator*=()
Distance& osmscout::Distance::operator*= |
( |
double |
d | ) |
|
|
inline |
◆ operator+()
◆ operator+=()
◆ operator-()
◆ operator-=()
◆ operator/()
Distance osmscout::Distance::operator/ |
( |
double |
factor | ) |
const |
|
inline |
◆ operator/=()
Distance& osmscout::Distance::operator/= |
( |
double |
d | ) |
|
|
inline |
◆ operator<()
bool osmscout::Distance::operator< |
( |
const Distance & |
d | ) |
const |
|
inline |
◆ operator<=()
bool osmscout::Distance::operator<= |
( |
const Distance & |
d | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool osmscout::Distance::operator== |
( |
const Distance & |
d | ) |
const |
|
inline |
◆ operator>()
bool osmscout::Distance::operator> |
( |
const Distance & |
d | ) |
const |
|
inline |
◆ operator>=()
bool osmscout::Distance::operator>= |
( |
const Distance & |
d | ) |
const |
|
inline |
◆ Zero()
The documentation for this class was generated from the following files: