CARLA
Classes | Namespaces | Functions | Variables
MeshFactory.cpp File Reference
#include <carla/road/MeshFactory.h>
#include <vector>
#include <carla/geom/Vector3D.h>
#include <carla/geom/Rtree.h>
+ Include dependency graph for MeshFactory.cpp:

Go to the source code of this file.

Classes

struct  carla::geom::VertexInfo
 
struct  carla::geom::VertexNeighbors
 
struct  carla::geom::VertexWeight
 

Namespaces

 carla
 This file contains definitions of common data structures used in traffic manager.
 
 carla::geom
 

Functions

static VertexWeight carla::geom::ComputeVertexWeight (const MeshFactory::RoadParameters &road_param, const VertexInfo &vertex_info, const VertexInfo &neighbor_info)
 
std::vector< VertexNeighbors > carla::geom::GetVertexNeighborhoodAndWeights (const MeshFactory::RoadParameters &road_param, std::vector< std::unique_ptr< Mesh >> &lane_meshes)
 

Variables

static constexpr double carla::geom::EPSILON = 10.0 * std::numeric_limits<double>::epsilon()
 We use this epsilon to shift the waypoints away from the edges of the lane sections to avoid floating point precision errors. More...
 
static constexpr double carla::geom::MESH_EPSILON = 50.0 * std::numeric_limits<double>::epsilon()