MRPT  2.0.4
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.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020