Skip to content

Struct inertialsim::geodesy::TopocentricDatum

ClassList > inertialsim > geodesy > TopocentricDatum

Topocentric datum class. More...

  • #include <datums.h>

Public Attributes

Type Name
TopocentricAxisOrder axis_order = TopocentricAxisOrder::NED
Axis ordering (NED or ENU)
GeodeticDatum geodetic_datum
Geodetic datum associated with origin.
Array3D origin
Origin in geodetic coordinates (latitude, longitude, altitude)

Public Functions

Type Name
TopocentricDatum (const Array3D & geodetic_origin, TopocentricAxisOrder axis_order=TopocentricAxisOrder::NED, const std::optional< GeodeticDatum > & geodetic_datum=std::nullopt)
Construct a TopocentricDatum from geodetic coordinates.

Detailed Description

Defines a datum for a coordinate system with an origin on or near the surface of the Earth. Valid axis orderings are North (x), East (y), Down (z) (NED) or East (x), North (y), Up (z) (ENU). NED is the default.

Public Attributes Documentation

variable axis_order

Axis ordering (NED or ENU)

TopocentricAxisOrder inertialsim::geodesy::TopocentricDatum::axis_order;


variable geodetic_datum

Geodetic datum associated with origin.

GeodeticDatum inertialsim::geodesy::TopocentricDatum::geodetic_datum;


variable origin

Origin in geodetic coordinates (latitude, longitude, altitude)

Array3D inertialsim::geodesy::TopocentricDatum::origin;


Public Functions Documentation

function TopocentricDatum

Construct a TopocentricDatum from geodetic coordinates.

explicit inertialsim::geodesy::TopocentricDatum::TopocentricDatum (
    const Array3D & geodetic_origin,
    TopocentricAxisOrder axis_order=TopocentricAxisOrder::NED,
    const std::optional< GeodeticDatum > & geodetic_datum=std::nullopt
) 



The documentation for this class was generated from the following file cpp/include/inertialsim/geodesy/datums.h