#include <Distance.h>
|
| static Distance | Lowest () |
| | returns the lowest finite value of the given type
|
| static Distance | Max () |
| static Distance | Max (const Distance &a, const Distance &b) |
| static Distance | Min () |
| | returns the smallest finite value of the given type
|
| static Distance | Min (const Distance &a, const Distance &b) |
| template<typename Unit> |
| static Distance | Of (double value) |
| static Distance | Zero () |
◆ 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 AsString(), osmscout::AbstractRoutingService< RoutingState >::CalculateRoute(), osmscout::TTSMessageGeneratorQt::GenerateMessage(), osmscout::FastestPathRoutingProfile::GetCosts(), osmscout::ShortestPathRoutingProfile::GetCosts(), osmscout::ShortestPathRoutingProfile::GetCosts(), osmscout::ShortestPathRoutingProfile::GetCosts(), osmscout::GetEllipsoidalDistance(), osmscout::AbstractRoutingProfile::GetTime2(), osmscout::VoiceInstructionAgent::Process(), osmscout::Feet::Value(), osmscout::Kilometer::Value(), osmscout::Meter::Value(), osmscout::Mile::Value(), and osmscout::Yard::Value().
◆ AsMeter()
| double osmscout::Distance::AsMeter |
( |
| ) |
const |
|
inline |
Referenced by osmscout::GeoCoord::Add(), osmscout::LocationListModel::data(), osmscout::NearPOIModel::data(), osmscout::LocationInfoModel::distance(), osmscout::LocationEntry::distanceTo(), osmscout::TTSMessageGeneratorQt::GenerateMessage(), osmscout::GetDistanceInLonDegrees(), osmscout::NearPOIModel::onLookupResult(), osmscout::NavigationModel::onTargetReached(), osmscout::ElevationChartWidget::paint(), osmscout::ArrivalEstimateAgent::Process(), osmscout::PositionAgent::Process(), osmscout::SpeedAgent::Process(), and osmscout::VoiceInstructionAgent::Process().
◆ AsString()
| std::string osmscout::Distance::AsString |
( |
| ) |
const |
◆ Lowest()
| Distance osmscout::Distance::Lowest |
( |
| ) |
|
|
static |
◆ Max() [1/2]
| Distance osmscout::Distance::Max |
( |
| ) |
|
|
static |
◆ Max() [2/2]
| Distance osmscout::Distance::Max |
( |
const Distance & | a, |
|
|
const Distance & | b ) |
|
static |
◆ Min() [1/2]
| Distance osmscout::Distance::Min |
( |
| ) |
|
|
static |
returns the smallest finite value of the given type
- Returns
References Distance().
◆ Min() [2/2]
| Distance osmscout::Distance::Min |
( |
const Distance & | a, |
|
|
const Distance & | b ) |
|
static |
◆ Of()
template<typename Unit>
| Distance osmscout::Distance::Of |
( |
double | value | ) |
|
|
inlinestatic |
Referenced by osmscout::LocationDescriptionService::DescribeLocation(), osmscout::Feet::Distance(), osmscout::Kilometer::Distance(), osmscout::Meter::Distance(), osmscout::Mile::Distance(), osmscout::Yard::Distance(), osmscout::GetEllipsoidalDistance(), osmscout::GetSphericalDistance(), osmscout::Kilometers(), osmscout::Database::LoadAreasInArea(), osmscout::Database::LoadAreasInRadius(), osmscout::Meters(), osmscout::RouteNode::Read(), osmscout::NearPOIModel::SetMaxDistance(), and osmscout::Navigation< NodeDescriptionTmpl >::SetRoute().
◆ 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+()
| Distance osmscout::Distance::operator+ |
( |
const Distance & | d | ) |
const |
|
inline |
◆ operator+=()
| Distance & osmscout::Distance::operator+= |
( |
const Distance & | d | ) |
|
|
inline |
◆ operator-()
| Distance osmscout::Distance::operator- |
( |
const Distance & | d | ) |
const |
|
inline |
◆ operator-=()
| Distance & osmscout::Distance::operator-= |
( |
const Distance & | d | ) |
|
|
inline |
◆ 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]
| Distance & osmscout::Distance::operator= |
( |
const Distance & | d | ) |
|
|
default |
◆ operator=() [2/2]
| Distance & osmscout::Distance::operator= |
( |
Distance && | d | ) |
|
|
inlinenoexcept |
◆ 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()
| Distance osmscout::Distance::Zero |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: