struct mrpt::topography::TGeodeticCoords

A set of geodetic coordinates: latitude, longitude and height, defined over a given geoid (typically, WGS84)

#include <mrpt/topography/data_types.h>

struct TGeodeticCoords
{
    //
fields

    TCoords lat;
    TCoords lon;
    double height {0};

    // construction

    TGeodeticCoords();

    TGeodeticCoords(
        const double _lat,
        const double _lon,
        const double _height
        );

    //
methods

    bool isClear() const;
};

Fields

TCoords lat

Latitude (in degrees)

TCoords lon

Longitude (in degrees)

double height {0}

Geodetic height (in meters)