mbgtools-lx  4.2.8
DMS Struct Reference

Geographic longitude or latitude in [degrees, minutes, seconds]. More...

#include <mbggeo.h>

Data Fields

uint16_t prefix
 'N', 'E', 'S' or 'W' More...
 
uint16_t deg
 [0...90 (lat) or 0...180 (lon)] More...
 
uint16_t min
 [0...59] More...
 
double sec
 [0...59.99999...] More...
 

Detailed Description

Geographic longitude or latitude in [degrees, minutes, seconds].

Longitude East and latitude North are positive angles, South or West angles are negative.

Definition at line 90 of file mbggeo.h.

Field Documentation

◆ deg

uint16_t DMS::deg

[0...90 (lat) or 0...180 (lon)]

Definition at line 93 of file mbggeo.h.

Referenced by mbg_str_pos_dms(), print_dms(), and swap_pos_doubles().

◆ min

uint16_t DMS::min

[0...59]

Definition at line 94 of file mbggeo.h.

Referenced by mbg_str_pos_dms(), print_dms(), and swap_pos_doubles().

◆ prefix

uint16_t DMS::prefix

'N', 'E', 'S' or 'W'

Definition at line 92 of file mbggeo.h.

Referenced by mbg_str_pos_dms(), print_dms(), and swap_pos_doubles().

◆ sec

double DMS::sec

[0...59.99999...]

Definition at line 95 of file mbggeo.h.

Referenced by mbg_str_pos_dms(), print_dms(), and swap_pos_doubles().


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