MLIB
Loading...
Searching...
No Matches
convert.cpp File Reference

Conversion functions. More...

#include <mlib/mlib.h>
#include <utf8/utf8.h>

Functions

size_t mlib::strprintf (std::string &str, const char *fmt,...)
 
double mlib::deg_reduce (double value)
 Reduces a degrees value to [0,360) interval.
 
std::string mlib::degtoa (double degrees, deg_fmt format, bool latitude, int precision)
 Conversion from degrees to a string.
 
double mlib::atodeg (const std::string &str)
 Conversion from string to decimal degrees.
 

Detailed Description

Conversion functions.