|
template<typename T > |
static std::string | to_string_with_padding (const T &value, std::size_t total_length) |
|
static std::string | ToString (const BasicGeoTypes::GeoPos &gp) |
| Produces a GARS position string from a GeoPos.
|
|
static bool | Parse (const std::string &str, BasicGeoTypes::GeoPos &gp) |
| Parse the GARS position string to form a GeoPos. This position string has no better precision than 2.5'.
|
|
|
double | _dNorthing |
| Northing and Easting grid coordinates.
|
|
double | _dEasting |
|
◆ GetGeoPos()
Gets position as GeoPos.
- Returns
◆ GetGridPos()
void Maria::MGarsPos::GetGridPos |
( |
double & |
dEasting, |
|
|
double & |
dNorthing |
|
) |
| |
|
inline |
Gets the grid position.
- Parameters
-
◆ Parse()
Parse the GARS position string to form a GeoPos. This position string has no better precision than 2.5'.
- Parameters
-
str | input GARS string |
gp | output GeoPos, valid if successful |
- Returns
- true if input string is valid
◆ SetGeoPos() [1/2]
Sets position from a GeoPos.
- Parameters
-
◆ SetGeoPos() [2/2]
void Maria::MGarsPos::SetGeoPos |
( |
double |
lat, |
|
|
double |
lon |
|
) |
| |
|
inline |
Sets position from lat, lon.
- Parameters
-
◆ SetGridPos()
void Maria::MGarsPos::SetGridPos |
( |
double |
dEasting, |
|
|
double |
dNorthing |
|
) |
| |
|
inline |
Sets grid position (minutes with offset)
- Parameters
-
◆ ToString() [1/2]
std::string MGarsPos::ToString |
( |
| ) |
|
Produces GARS position string (cell string)
- Returns
◆ ToString() [2/2]
Produces a GARS position string from a GeoPos.
- Parameters
-
- Returns
◆ ToStringRound()
std::string MGarsPos::ToStringRound |
( |
| ) |
|
Nearest position string.
- Returns
The documentation for this class was generated from the following files:
- Native/MariaNative/MGeoLayers/MGarsPos.h
- Native/MariaNative/MGeoLayers/MGarsPos.cpp