libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::Meter Class Reference

#include <Distance.h>

+ Inheritance diagram for osmscout::Meter:

Public Member Functions

class Distance Distance (double d) const override
 
std::string UnitStr () const override
 
double Value (const class Distance &d) const override
 
 ~Meter () override=default
 
- Public Member Functions inherited from osmscout::DistanceUnit
virtual ~DistanceUnit ()=default
 

Static Public Member Functions

static double FromMeter (double m)
 
static double ToMeter (double m)
 

Constructor & Destructor Documentation

◆ ~Meter()

osmscout::Meter::~Meter ( )
overridedefault

Member Function Documentation

◆ Distance()

class Distance osmscout::Meter::Distance ( double  d) const
inlineoverridevirtual

◆ FromMeter()

static double osmscout::Meter::FromMeter ( double  m)
inlinestatic

References m.

◆ ToMeter()

static double osmscout::Meter::ToMeter ( double  m)
inlinestatic

References m.

◆ UnitStr()

std::string osmscout::Meter::UnitStr ( ) const
inlineoverridevirtual

◆ Value()

double osmscout::Meter::Value ( const class Distance d) const
inlineoverridevirtual

The documentation for this class was generated from the following file: