Classes | Functions
test_lanelet_map_geometry.cpp File Reference
#include <gtest/gtest.h>
#include <future>
#include <random>
#include "lanelet2_core/geometry/Area.h"
#include "lanelet2_core/geometry/BoundingBox.h"
#include "lanelet2_core/geometry/LaneletMap.h"
#include "lanelet_map_test_case.h"
Include dependency graph for test_lanelet_map_geometry.cpp:

Go to the source code of this file.

Classes

class  LaneletMapGeometryTest
 

Functions

LineStrings3d getRandomLinestringsSortedByDistanceToOrigin (size_t num, std::mt19937 &rng)
 
 TEST_F (LaneletMapGeometryTest, findNearestWorksForRandomLinestrings)
 
 TEST_F (LaneletMapGeometryTest, findWithin2dArea)
 
 TEST_F (LaneletMapGeometryTest, findWithin2dBasicPolygon)
 
 TEST_F (LaneletMapGeometryTest, findWithin2dBox)
 
 TEST_F (LaneletMapGeometryTest, findWithin2dLanelet)
 
 TEST_F (LaneletMapGeometryTest, findWithin2dLinestring)
 
 TEST_F (LaneletMapGeometryTest, findWithin2dPoint)
 
 TEST_F (LaneletMapGeometryTest, findWithin3dArea)
 
 TEST_F (LaneletMapGeometryTest, findWithin3dBox)
 
 TEST_F (LaneletMapGeometryTest, findWithin3dLanelet)
 
 TEST_F (LaneletMapGeometryTest, findWithin3dLinestring)
 
 TEST_F (LaneletMapGeometryTest, findWithin3dPoint)
 

Function Documentation

◆ getRandomLinestringsSortedByDistanceToOrigin()

LineStrings3d getRandomLinestringsSortedByDistanceToOrigin ( size_t  num,
std::mt19937 &  rng 
)

Definition at line 15 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [1/12]

TEST_F ( LaneletMapGeometryTest  ,
findNearestWorksForRandomLinestrings   
)

Definition at line 30 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [2/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin2dArea   
)

Definition at line 95 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [3/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin2dBasicPolygon   
)

Definition at line 65 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [4/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin2dBox   
)

Definition at line 75 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [5/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin2dLanelet   
)

Definition at line 85 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [6/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin2dLinestring   
)

Definition at line 55 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [7/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin2dPoint   
)

Definition at line 45 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [8/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin3dArea   
)

Definition at line 145 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [9/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin3dBox   
)

Definition at line 124 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [10/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin3dLanelet   
)

Definition at line 135 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [11/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin3dLinestring   
)

Definition at line 114 of file test_lanelet_map_geometry.cpp.

◆ TEST_F() [12/12]

TEST_F ( LaneletMapGeometryTest  ,
findWithin3dPoint   
)

Definition at line 105 of file test_lanelet_map_geometry.cpp.



lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:25:52