SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::Position Struct Reference

Position data container. More...

#include <sensesp/types/position.h>

Public Member Functions

 Position ()
 
 Position (double latitude, double longitude, float altitude=kPositionInvalidAltitude)
 

Public Attributes

double latitude
 
double longitude
 
float altitude = kPositionInvalidAltitude
 

Detailed Description

Position data container.

Position data as latitudes and longitudes, in decimal degrees, and altitude, in meters.

Definition at line 20 of file position.h.

Constructor & Destructor Documentation

◆ Position() [1/2]

sensesp::Position::Position ( )
inline

Definition at line 25 of file position.h.

◆ Position() [2/2]

sensesp::Position::Position ( double latitude,
double longitude,
float altitude = kPositionInvalidAltitude )
inline

Definition at line 26 of file position.h.

Member Data Documentation

◆ altitude

float sensesp::Position::altitude = kPositionInvalidAltitude

Definition at line 23 of file position.h.

◆ latitude

double sensesp::Position::latitude

Definition at line 21 of file position.h.

◆ longitude

double sensesp::Position::longitude

Definition at line 22 of file position.h.


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