Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
fpsdk::common::parser::nmea::NmeaCoordinates Struct Reference

NMEA coordinates (integer degrees, float minutes and a sign for N/S resp. E/W) More...

#include <nmea.hpp>

Public Member Functions

 NmeaCoordinates (const double degs, const int digits=5)
 Constructor.
 

Public Attributes

int deg_
 Integer degrees value, >= 0.
 
double min_
 Fractional minutes value, >= 0.0.
 
bool sign_
 false for negative (S or W), true for positive (N or E)
 

Detailed Description

NMEA coordinates (integer degrees, float minutes and a sign for N/S resp. E/W)

Definition at line 161 of file nmea.hpp.

Constructor & Destructor Documentation

◆ NmeaCoordinates()

fpsdk::common::parser::nmea::NmeaCoordinates::NmeaCoordinates ( const double degs,
const int digits = 5 )

Constructor.

Parameters
[in]degsDecimal degrees
[in]digitsNumber of digits (0-12), param clamped to range

Member Data Documentation

◆ deg_

int fpsdk::common::parser::nmea::NmeaCoordinates::deg_

Integer degrees value, >= 0.

Definition at line 171 of file nmea.hpp.

◆ min_

double fpsdk::common::parser::nmea::NmeaCoordinates::min_

Fractional minutes value, >= 0.0.

Definition at line 172 of file nmea.hpp.

◆ sign_

bool fpsdk::common::parser::nmea::NmeaCoordinates::sign_

false for negative (S or W), true for positive (N or E)

Definition at line 173 of file nmea.hpp.


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