CARLA
Loading...
Searching...
No Matches
MeshFactory.cpp File Reference

Go to the source code of this file.

Classes

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

Namespaces

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
namespace  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.
static constexpr double carla::geom::MESH_EPSILON = 50.0 * std::numeric_limits<double>::epsilon()