Fixposition SDK 0.0.0-heads/main-0-g408dc89
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
fpsdk::common::math::DegMinSec Struct Reference

Integer degrees and minutes with fractional seconds. More...

#include <math.hpp>

Public Member Functions

 DegMinSec ()=default
 Default ctor.
 DegMinSec (const double deg)
 Set from fractional degrees.

Public Attributes

int deg_ = 0
 Integer degrees.
int min_ = 0
 Integer minutes.
double sec_ = 0.0
 Fractional seconds.

Detailed Description

Integer degrees and minutes with fractional seconds.

Definition at line 70 of file math.hpp.

Constructor & Destructor Documentation

◆ DegMinSec()

fpsdk::common::math::DegMinSec::DegMinSec ( const double deg)

Set from fractional degrees.

Parameters
[in]degFractional degrees

Member Data Documentation

◆ deg_

int fpsdk::common::math::DegMinSec::deg_ = 0

Integer degrees.

Definition at line 80 of file math.hpp.

◆ min_

int fpsdk::common::math::DegMinSec::min_ = 0

Integer minutes.

Definition at line 81 of file math.hpp.

◆ sec_

double fpsdk::common::math::DegMinSec::sec_ = 0.0

Fractional seconds.

Definition at line 82 of file math.hpp.


The documentation for this struct was generated from the following file:
  • fpsdk_common/include/fpsdk_common/math.hpp