MRPT  1.9.9
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 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020