MRPT  2.0.2
Functions
conversions_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/topography.h>
Include dependency graph for conversions_unittest.cpp:

Go to the source code of this file.

Functions

void do_test_geodetic_geocentric (const TGeodeticCoords c1)
 
 TEST (TopographyConversion, GeodeticToGeocentricToGeodetic)
 
 TEST (TopographyConversion, geodeticToENU_WGS84)
 

Function Documentation

◆ do_test_geodetic_geocentric()

void do_test_geodetic_geocentric ( const TGeodeticCoords  c1)

Definition at line 18 of file conversions_unittest.cpp.

References EXPECT_NEAR(), mrpt::topography::geocentricToGeodetic(), mrpt::topography::geodeticToGeocentric(), mrpt::topography::TGeodeticCoords::height, mrpt::topography::TGeodeticCoords::lat, and mrpt::topography::TGeodeticCoords::lon.

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST() [1/2]

TEST ( TopographyConversion  ,
GeodeticToGeocentricToGeodetic   
)

Definition at line 33 of file conversions_unittest.cpp.

References do_test_geodetic_geocentric().

Here is the call graph for this function:

◆ TEST() [2/2]

TEST ( TopographyConversion  ,
geodeticToENU_WGS84   
)

Definition at line 45 of file conversions_unittest.cpp.

References EXPECT_NEAR(), mrpt::topography::geodeticToENU_WGS84(), mrpt::topography::TGeodeticCoords::height, mrpt::topography::TGeodeticCoords::lat, mrpt::topography::TGeodeticCoords::lon, mrpt::math::TPoint3D_data< T >::x, mrpt::math::TPoint3D_data< T >::y, and mrpt::math::TPoint3D_data< T >::z.

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 2.0.2 Git: 9b4fd2465 Mon May 4 16:59:08 2020 +0200 at lun may 4 17:26:07 CEST 2020