NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::coordinates::transforms Namespace Reference

Functions

reference_frames::ECEF AERtoECEF (const reference_frames::AER target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction. More...
 
reference_frames::ECEF AERtoECEF (const reference_frames::AER target, const reference_frames::LLA &referencePoint) noexcept
 Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction. More...
 
reference_frames::ENU AERtoENU (const reference_frames::AER aer) noexcept
 Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction. More...
 
reference_frames::LLA AERtoLLA (const reference_frames::AER target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction. More...
 
reference_frames::LLA AERtoLLA (const reference_frames::AER target, const reference_frames::LLA &referencePoint) noexcept
 Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction. More...
 
reference_frames::NED AERtoNED (const reference_frames::AER aer) noexcept
 Converts the spherical inertial coordinates (NED) to Cartesian XYZ (NED). NOTE: positive elevation is defined as the negative z (up) direction. More...
 
Orientation ECEFEulerToENURollPitchYaw (const reference_frames::ECEF &location, const Euler &orientation) noexcept
 Converts ECEF euler angles to body roll/pitch/yaw. More...
 
Orientation ECEFEulerToNEDRollPitchYaw (const reference_frames::ECEF &location, const Euler &orientation) noexcept
 Converts ECEF euler angles to body roll/pitch/yaw. More...
 
reference_frames::AER ECEFtoAER (const reference_frames::ECEF &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html. More...
 
reference_frames::AER ECEFtoAER (const reference_frames::ECEF &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html. More...
 
reference_frames::ENU ECEFtoENU (const reference_frames::ECEF &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
reference_frames::ENU ECEFtoENU (const reference_frames::ECEF &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
reference_frames::LLA ECEFtoLLA (const reference_frames::ECEF &ecef, double tol=1e-8) noexcept
 Converts ECEF coordinates to LLA https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_ECEF_to_geodetic_coordinates. More...
 
reference_frames::NED ECEFtoNED (const reference_frames::ECEF &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the ECEF coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
reference_frames::NED ECEFtoNED (const reference_frames::ECEF &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the ECEF coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
Euler ENURollPitchYawToECEFEuler (const reference_frames::ECEF &location, const Orientation &orientation) noexcept
 Converts ENU body roll/pitch/yaw to ECEF euler angles. More...
 
reference_frames::AER ENUtoAER (const reference_frames::ENU &target) noexcept
 Converts the ENU coordinates to 2d speherical inertial coordinates. Range is not used. NOTE: positive elevation is defined as the positive z (up) direction. More...
 
reference_frames::ECEF ENUtoECEF (const reference_frames::ENU &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the ENU coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::ECEF ENUtoECEF (const reference_frames::ENU &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the ENU coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::LLA ENUtoLLA (const reference_frames::ENU &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the ENU coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::LLA ENUtoLLA (const reference_frames::ENU &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the ENU coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::NED ENUtoNED (const reference_frames::ENU &point) noexcept
 Converts ENU to NED. More...
 
std::array< Vec3, 3 > ENUUnitVecsInECEF (const reference_frames::ECEF &location) noexcept
 get the local ENU unit vectors wrt the ECEF coordinate system // https://gssc.esa.int/navipedia/index.php/Transformations_between_ECEF_and_ENU_coordinates More...
 
double geocentricRadius (const reference_frames::LLA &point) noexcept
 Returns the geocentric radius. More...
 
reference_frames::LLA geocentricToLLA (const reference_frames::Geocentric &point) noexcept
 Converts from geocentric to geodetic. More...
 
reference_frames::AER LLAtoAER (const reference_frames::LLA &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html. More...
 
reference_frames::AER LLAtoAER (const reference_frames::LLA &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html. More...
 
reference_frames::ECEF LLAtoECEF (const reference_frames::LLA &point) noexcept
 Converts the LLA coordinates to ECEF https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_geodetic_to_ECEF_coordinates. More...
 
reference_frames::ENU LLAtoENU (const reference_frames::LLA &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
reference_frames::ENU LLAtoENU (const reference_frames::LLA &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
reference_frames::Geocentric LLAtoGeocentric (const reference_frames::LLA &point) noexcept
 Converts from geodetic to geocentric. More...
 
reference_frames::NED LLAtoNED (const reference_frames::LLA &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the LLA coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
reference_frames::NED LLAtoNED (const reference_frames::LLA &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the LLA coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram. More...
 
Euler NEDRollPitchYawToECEFEuler (const reference_frames::ECEF &location, const Orientation &orientation) noexcept
 Converts NED body roll/pitch/yaw to ECEF euler angles. More...
 
reference_frames::AER NEDtoAER (const reference_frames::NED &target) noexcept
 Converts the Cartesian XYZ (NED) coordinates to 2d speherical inertial coordinates. Range is not used. NOTE: positive elevation is defined as the negative z (up) direction. More...
 
reference_frames::ECEF NEDtoECEF (const reference_frames::NED &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the NED coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::ECEF NEDtoECEF (const reference_frames::NED &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the NED coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::ENU NEDtoENU (const reference_frames::NED &point) noexcept
 Converts NED to ENU. More...
 
reference_frames::LLA NEDtoLLA (const reference_frames::NED &target, const reference_frames::ECEF &referencePoint) noexcept
 Converts the NED coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
reference_frames::LLA NEDtoLLA (const reference_frames::NED &target, const reference_frames::LLA &referencePoint) noexcept
 Converts the NED coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates. More...
 
std::array< Vec3, 3 > NEDUnitVecsInECEF (const reference_frames::ECEF &location) noexcept
 get the local NED unit vectors wrt the ECEF coordinate system https://gssc.esa.int/navipedia/index.php/Transformations_between_ECEF_and_ENU_coordinates More...
 

Function Documentation

◆ AERtoECEF() [1/2]

reference_frames::ECEF nc::coordinates::transforms::AERtoECEF ( const reference_frames::AER  target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction.

Parameters
targetthe target position
referencePointthe reference position
Returns
ECEF

◆ AERtoECEF() [2/2]

reference_frames::ECEF nc::coordinates::transforms::AERtoECEF ( const reference_frames::AER  target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction.

Parameters
targetthe target position
referencePointthe reference position
Returns
ECEF

◆ AERtoENU()

reference_frames::ENU nc::coordinates::transforms::AERtoENU ( const reference_frames::AER  aer)
inlinenoexcept

Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction.

Parameters
aer2D Inertial azimuth and elevation
Returns
ENU

◆ AERtoLLA() [1/2]

reference_frames::LLA nc::coordinates::transforms::AERtoLLA ( const reference_frames::AER  target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction.

Parameters
targetthe target position
referencePointthe reference position
Returns
LLA

◆ AERtoLLA() [2/2]

reference_frames::LLA nc::coordinates::transforms::AERtoLLA ( const reference_frames::AER  target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the spherical inertial coordinates (NED) to Cartesian XYZ (ENU). NOTE: positive elevation is defined as the positive z (up) direction.

Parameters
targetthe target position
referencePointthe reference position
Returns
LLA

◆ AERtoNED()

reference_frames::NED nc::coordinates::transforms::AERtoNED ( const reference_frames::AER  aer)
inlinenoexcept

Converts the spherical inertial coordinates (NED) to Cartesian XYZ (NED). NOTE: positive elevation is defined as the negative z (up) direction.

Parameters
aer2D Inertial azimuth and elevation
Returns
NED

◆ ECEFEulerToENURollPitchYaw()

Orientation nc::coordinates::transforms::ECEFEulerToENURollPitchYaw ( const reference_frames::ECEF location,
const Euler orientation 
)
inlinenoexcept

Converts ECEF euler angles to body roll/pitch/yaw.

Parameters
locationthe ecef location
orientationecef euler angles
Returns
ENU Orientation

◆ ECEFEulerToNEDRollPitchYaw()

Orientation nc::coordinates::transforms::ECEFEulerToNEDRollPitchYaw ( const reference_frames::ECEF location,
const Euler orientation 
)
inlinenoexcept

Converts ECEF euler angles to body roll/pitch/yaw.

Parameters
locationthe ecef location
orientationecef euler angles
Returns
NED Orientation

◆ ECEFtoAER() [1/2]

reference_frames::AER nc::coordinates::transforms::ECEFtoAER ( const reference_frames::ECEF target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html.

Parameters
targetthe target of interest
referencePointthe referencePoint
Returns
AER

◆ ECEFtoAER() [2/2]

reference_frames::AER nc::coordinates::transforms::ECEFtoAER ( const reference_frames::ECEF target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html.

Parameters
targetthe target of interest
referencePointthe referencePoint
Returns
AER

◆ ECEFtoENU() [1/2]

reference_frames::ENU nc::coordinates::transforms::ECEFtoENU ( const reference_frames::ECEF target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe reference point
Returns
ENU

◆ ECEFtoENU() [2/2]

reference_frames::ENU nc::coordinates::transforms::ECEFtoENU ( const reference_frames::ECEF target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe reference point
Returns
ENU

◆ ECEFtoLLA()

reference_frames::LLA nc::coordinates::transforms::ECEFtoLLA ( const reference_frames::ECEF ecef,
double  tol = 1e-8 
)
inlinenoexcept

Converts ECEF coordinates to LLA https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_ECEF_to_geodetic_coordinates.

Parameters
ecefthe point of interest
tolTolerance for the convergence of altitude (overriden if 10 iterations are processed)
Returns
LLA

◆ ECEFtoNED() [1/2]

reference_frames::NED nc::coordinates::transforms::ECEFtoNED ( const reference_frames::ECEF target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the ECEF coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ ECEFtoNED() [2/2]

reference_frames::NED nc::coordinates::transforms::ECEFtoNED ( const reference_frames::ECEF target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the ECEF coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ ENURollPitchYawToECEFEuler()

Euler nc::coordinates::transforms::ENURollPitchYawToECEFEuler ( const reference_frames::ECEF location,
const Orientation orientation 
)
inlinenoexcept

Converts ENU body roll/pitch/yaw to ECEF euler angles.

Parameters
locationthe ecef location
orientationned euler angles
Returns
Orientation

◆ ENUtoAER()

reference_frames::AER nc::coordinates::transforms::ENUtoAER ( const reference_frames::ENU target)
inlinenoexcept

Converts the ENU coordinates to 2d speherical inertial coordinates. Range is not used. NOTE: positive elevation is defined as the positive z (up) direction.

Parameters
targetcoordinates to convert
Returns
AER

◆ ENUtoECEF() [1/2]

reference_frames::ECEF nc::coordinates::transforms::ENUtoECEF ( const reference_frames::ENU target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the ENU coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
ENU

◆ ENUtoECEF() [2/2]

reference_frames::ECEF nc::coordinates::transforms::ENUtoECEF ( const reference_frames::ENU target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the ENU coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
ENU

◆ ENUtoLLA() [1/2]

reference_frames::LLA nc::coordinates::transforms::ENUtoLLA ( const reference_frames::ENU target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the ENU coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
ENU

◆ ENUtoLLA() [2/2]

reference_frames::LLA nc::coordinates::transforms::ENUtoLLA ( const reference_frames::ENU target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the ENU coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
ENU

◆ ENUtoNED()

reference_frames::NED nc::coordinates::transforms::ENUtoNED ( const reference_frames::ENU point)
inlinenoexcept

Converts ENU to NED.

Parameters
pointthe ENU coordinates
Returns
NED

◆ ENUUnitVecsInECEF()

std::array< Vec3, 3 > nc::coordinates::transforms::ENUUnitVecsInECEF ( const reference_frames::ECEF location)
inlinenoexcept

get the local ENU unit vectors wrt the ECEF coordinate system // https://gssc.esa.int/navipedia/index.php/Transformations_between_ECEF_and_ENU_coordinates

Parameters
locationthe ECEF location
Returns
std::array<Vec3, 3>

◆ geocentricRadius()

double nc::coordinates::transforms::geocentricRadius ( const reference_frames::LLA point)
inlinenoexcept

Returns the geocentric radius.

Parameters
pointthe point of interest
Returns
radius

◆ geocentricToLLA()

reference_frames::LLA nc::coordinates::transforms::geocentricToLLA ( const reference_frames::Geocentric point)
inlinenoexcept

Converts from geocentric to geodetic.

Parameters
pointthe point of interest
Returns
geodetic

◆ LLAtoAER() [1/2]

reference_frames::AER nc::coordinates::transforms::LLAtoAER ( const reference_frames::LLA target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html.

Parameters
targetthe target of interest
referencePointthe referencePoint
Returns
AER

◆ LLAtoAER() [2/2]

reference_frames::AER nc::coordinates::transforms::LLAtoAER ( const reference_frames::LLA target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the LLA coordinates to Az El with geodedic up https://geospace-code.github.io/matmap3d/enu2aer.html.

Parameters
targetthe target of interest
referencePointthe referencePoint
Returns
AER

◆ LLAtoECEF()

reference_frames::ECEF nc::coordinates::transforms::LLAtoECEF ( const reference_frames::LLA point)
inlinenoexcept

Converts the LLA coordinates to ECEF https://en.wikipedia.org/wiki/Geographic_coordinate_conversion#From_geodetic_to_ECEF_coordinates.

Parameters
pointthe point of interest
Returns
Cartesian

◆ LLAtoENU() [1/2]

reference_frames::ENU nc::coordinates::transforms::LLAtoENU ( const reference_frames::LLA target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe reference point
Returns
ENU

◆ LLAtoENU() [2/2]

reference_frames::ENU nc::coordinates::transforms::LLAtoENU ( const reference_frames::LLA target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the ECEF coordinates to ENU https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe reference point
Returns
ENU

◆ LLAtoGeocentric()

reference_frames::Geocentric nc::coordinates::transforms::LLAtoGeocentric ( const reference_frames::LLA point)
inlinenoexcept

Converts from geodetic to geocentric.

Parameters
pointthe point of interest
Returns
geocentric

◆ LLAtoNED() [1/2]

reference_frames::NED nc::coordinates::transforms::LLAtoNED ( const reference_frames::LLA target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the LLA coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ LLAtoNED() [2/2]

reference_frames::NED nc::coordinates::transforms::LLAtoNED ( const reference_frames::LLA target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the LLA coordinates to NED https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ NEDRollPitchYawToECEFEuler()

Euler nc::coordinates::transforms::NEDRollPitchYawToECEFEuler ( const reference_frames::ECEF location,
const Orientation orientation 
)
inlinenoexcept

Converts NED body roll/pitch/yaw to ECEF euler angles.

Parameters
locationthe ecef location
orientationned euler angles
Returns
Orientation

◆ NEDtoAER()

reference_frames::AER nc::coordinates::transforms::NEDtoAER ( const reference_frames::NED target)
inlinenoexcept

Converts the Cartesian XYZ (NED) coordinates to 2d speherical inertial coordinates. Range is not used. NOTE: positive elevation is defined as the negative z (up) direction.

Parameters
targetcoordinates to convert
Returns
AER

◆ NEDtoECEF() [1/2]

reference_frames::ECEF nc::coordinates::transforms::NEDtoECEF ( const reference_frames::NED target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the NED coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ NEDtoECEF() [2/2]

reference_frames::ECEF nc::coordinates::transforms::NEDtoECEF ( const reference_frames::NED target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the NED coordinates to ECEF https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ NEDtoENU()

reference_frames::ENU nc::coordinates::transforms::NEDtoENU ( const reference_frames::NED point)
inlinenoexcept

Converts NED to ENU.

Parameters
pointthe NED coordinates
Returns
ENU

◆ NEDtoLLA() [1/2]

reference_frames::LLA nc::coordinates::transforms::NEDtoLLA ( const reference_frames::NED target,
const reference_frames::ECEF referencePoint 
)
inlinenoexcept

Converts the NED coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ NEDtoLLA() [2/2]

reference_frames::LLA nc::coordinates::transforms::NEDtoLLA ( const reference_frames::NED target,
const reference_frames::LLA referencePoint 
)
inlinenoexcept

Converts the NED coordinates to LLA https://apps.dtic.mil/sti/pdfs/AD1170763.pdf Figure 11 https://apps.dtic.mil/sti/pdfs/AD1170763.pdf for a helpful diagram https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Parameters
targetthe target of interest
referencePointthe referencePoint location
Returns
NED

◆ NEDUnitVecsInECEF()

std::array< Vec3, 3 > nc::coordinates::transforms::NEDUnitVecsInECEF ( const reference_frames::ECEF location)
inlinenoexcept

get the local NED unit vectors wrt the ECEF coordinate system https://gssc.esa.int/navipedia/index.php/Transformations_between_ECEF_and_ENU_coordinates

Parameters
locationthe ECEF location
Returns
std::array<Vec3, 3>