Namespace inertialsim::geodesy::topocentric¶
Namespace List > inertialsim > geodesy > topocentric
Public Functions¶
| Type | Name |
|---|---|
| std::pair< Vector3D, TransformMatrixArray > | FromEcef (const Vector3D & xyz, const TopocentricDatum & datum) Topocentric coordinates from ECEF coordinates. |
| std::pair< Vector3D, TransformMatrixArray > | FromTopocentric (const Vector3D & ned, const TopocentricDatum & datum) Topocentric coordinates from topocentric coordinates. |
| Vector3D | Validate (const Vector3D & ned) Validates inputs meet topocentric coordinate conventions. |
Public Functions Documentation¶
function FromEcef¶
Topocentric coordinates from ECEF coordinates.
std::pair< Vector3D, TransformMatrixArray > inertialsim::geodesy::topocentric::FromEcef (
const Vector3D & xyz,
const TopocentricDatum & datum
)
Parameters:
xyzEarth-centered, Earth-fixed (ECEF) cartesian coordinates (3xN).datumA datum describing the origin and axis order of the topocentric coordinates.
Returns:
Tuple of (topocentric coordinates NED or ENU, ECEF-to-topocentric transform matrices).
function FromTopocentric¶
Topocentric coordinates from topocentric coordinates.
std::pair< Vector3D, TransformMatrixArray > inertialsim::geodesy::topocentric::FromTopocentric (
const Vector3D & ned,
const TopocentricDatum & datum
)
Validates the input coordinates and returns identity transforms.
Parameters:
nedTopocentric coordinates (NED or ENU).datumA datum describing the origin and axis order of the topocentric coordinates.
Returns:
Tuple of (validated topocentric coordinates, identity transform).
function Validate¶
Validates inputs meet topocentric coordinate conventions.
Inputs are validated for shape. The input must be a 3xN matrix where N is the number of coordinate sets.
Parameters:
nedTopocentric coordinates (NED or ENU).
Returns:
Validated coordinates.
Exception:
std::invalid_argumentif shape is invalid.
The documentation for this class was generated from the following file cpp/include/inertialsim/geodesy/topocentric.h