A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{geocentric-topocentric-conversion-test.cc} Namespace Reference

Variables

const std::vector< ns3::Vector > GRS80_REFP_1
 Table of expected geocentric coordinates <U, V, W> (meters) for spheroid type GRS80 and reference point 1.
 
const ns3::Vector REFP_1_COORD {55.0, 5.0, 200.0}
 Reference point 1 for geocentric <--> topocentric conversion.
 
const std::vector< ns3::Vector > SPHERE_REFP_1
 Table of expected geocentric coordinates <U, V, W> (meters) for spheroid type SPHERE and reference point 1.
 
const std::vector< ns3::Vector > TEST_COORD
 Table of <longitude (deg), latitude (deg), altitude (m)> coordinates, obtained as the cartesian product of the longitude values (2.1295495 0.0 30.0 60.0 90.0 120.0 150.0 180.0), latitude values (53.80939444 0.0 20.0 40.0 60.0 80.0) and altitude values (73.0 500.0 1000.0).
 
constexpr double TOLERANCE_DEG = 5e-3
 Test tolerance with respect to the expected values, in degrees.
 
constexpr double TOLERANCE_M = 5
 Test tolerance with respect to the expected values, in meters.
 
const std::vector< ns3::Vector > WGS_84_REFP_1
 Table of expected geocentric coordinates <U, V, W> (meters) for spheroid type WGS84 and reference point 1.
 

Variable Documentation

◆ GRS80_REFP_1

const std::vector<ns3::Vector> anonymous_namespace{geocentric-topocentric-conversion-test.cc}::GRS80_REFP_1

Table of expected geocentric coordinates <U, V, W> (meters) for spheroid type GRS80 and reference point 1.

Definition at line 210 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestSuite::GeoToAndFromTopocentricTestSuite().

◆ REFP_1_COORD

const ns3::Vector anonymous_namespace{geocentric-topocentric-conversion-test.cc}::REFP_1_COORD {55.0, 5.0, 200.0}

Reference point 1 for geocentric <--> topocentric conversion.

In particular, this points is used for the example conversion of Sec. 4.1.3. of "IOGP Publication 373-7-2 – Geomatics Guidance Note number 7, part 2 – September 2019".

Definition at line 41 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestSuite::GeoToAndFromTopocentricTestSuite().

◆ SPHERE_REFP_1

const std::vector<ns3::Vector> anonymous_namespace{geocentric-topocentric-conversion-test.cc}::SPHERE_REFP_1

Table of expected geocentric coordinates <U, V, W> (meters) for spheroid type SPHERE and reference point 1.

Definition at line 132 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestSuite::GeoToAndFromTopocentricTestSuite().

◆ TEST_COORD

const std::vector<ns3::Vector> anonymous_namespace{geocentric-topocentric-conversion-test.cc}::TEST_COORD

Table of <longitude (deg), latitude (deg), altitude (m)> coordinates, obtained as the cartesian product of the longitude values (2.1295495 0.0 30.0 60.0 90.0 120.0 150.0 180.0), latitude values (53.80939444 0.0 20.0 40.0 60.0 80.0) and altitude values (73.0 500.0 1000.0).

The first coordinate, i.e., (2.1295495, 53.80939444, 73.0) corresponds to that of the example provided in Sec. 4.1.3. of "IOGP Publication 373-7-2 – Geomatics Guidance Note number 7, part 2 – September 2019". This set of coordinates is, in principle, independent from the reference point.

Definition at line 54 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestSuite::GeoToAndFromTopocentricTestSuite().

◆ TOLERANCE_DEG

constexpr double anonymous_namespace{geocentric-topocentric-conversion-test.cc}::TOLERANCE_DEG = 5e-3
constexpr

Test tolerance with respect to the expected values, in degrees.

Definition at line 33 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestCase::TestReferencePoint().

◆ TOLERANCE_M

constexpr double anonymous_namespace{geocentric-topocentric-conversion-test.cc}::TOLERANCE_M = 5
constexpr

Test tolerance with respect to the expected values, in meters.

Definition at line 31 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestCase::TestReferencePoint().

◆ WGS_84_REFP_1

const std::vector<ns3::Vector> anonymous_namespace{geocentric-topocentric-conversion-test.cc}::WGS_84_REFP_1

Table of expected geocentric coordinates <U, V, W> (meters) for spheroid type WGS84 and reference point 1.

Definition at line 288 of file geocentric-topocentric-conversion-test.cc.

Referenced by GeoToAndFromTopocentricTestSuite::GeoToAndFromTopocentricTestSuite().