ocssw
V2022
|
#include <genutils.h>
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string.hpp>
Go to the source code of this file.
Functions | |
bool | is_digits (const std::string &str) |
double | string2resolution (std::string resolutionStr) |
std::string | resolution2string (double resolution) |
double | str2resolution (char const *resolutionStr) |
const char * | resolution2str (double resolution) |
double | resolution2degrees (double resolution) |
double | degrees2resolution (double degrees) |
Function Documentation
◆ degrees2resolution()
double degrees2resolution | ( | double | degrees | ) |
Pixel resolution degrees to meters.
- Parameters
-
degrees resolution in degrees
- Returns
- double in meters
Definition at line 93 of file resolution_utils.cpp.
◆ is_digits()
bool is_digits | ( | const std::string & | str | ) |
Definition at line 8 of file resolution_utils.cpp.
◆ resolution2degrees()
double resolution2degrees | ( | double | resolution | ) |
Pixel resolution meters to degrees.
- Parameters
-
resolution in meters
- Returns
- double in degrees
Definition at line 89 of file resolution_utils.cpp.
◆ resolution2str()
const char* resolution2str | ( | double | resolution | ) |
Pixel resolution meters to string.
- Parameters
-
resolution in meters
- Returns
- const char* resolution as a string with units
Definition at line 84 of file resolution_utils.cpp.
◆ resolution2string()
std::string resolution2string | ( | double | resolution | ) |
Definition at line 66 of file resolution_utils.cpp.
◆ str2resolution()
double str2resolution | ( | char const * | resolutionStr | ) |
Pixel resolution string to meters.
- Parameters
-
resolutionStr resolution string
- Returns
- double in meters
Definition at line 79 of file resolution_utils.cpp.
◆ string2resolution()
double string2resolution | ( | std::string | resolutionStr | ) |
Definition at line 13 of file resolution_utils.cpp.