Skip to content

Position

struct nmeasim::core::geo::Position ยท Library API

A geographic position on the WGS 84 ellipsoid, without height.

#include <nmeasim/core/geo/geodesic.hpp>

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp (line 26)

Nothing is validated on construction; the functions of this namespace expect the ranges below. The default is the intersection of the equator and the prime meridian.

Summary

Public data members

Name Description
latitude_deg Latitude in degrees, in [-90, 90], positive north.
longitude_deg Longitude in degrees, in [-180, 180], positive east.

Public data members

latitude_deg

double latitude_deg{0.0}

Latitude in degrees, in [-90, 90], positive north.

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp:28

longitude_deg

double longitude_deg{0.0}

Longitude in degrees, in [-180, 180], positive east.

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp:30