CARLA
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
PlanView.h File Reference
#include <array>
#include <vector>
#include "Geometry.h"

Go to the source code of this file.

Classes

struct  twinmodel::Geom
 

Namespaces

namespace  twinmodel
 

Functions

std::vector< Geom > twinmodel::FitPlanView (const geom::Line3 &line, double max_offset=kMaxPlanViewOffset)
 Fit a polyline as a piecewise cubic paramPoly3 planview.
 

Variables

constexpr double twinmodel::kMaxPlanViewOffset = 0.25
 A vertex whose rounding would pull the curve further than this off the polyline becomes a corner instead; export/xodr.py's MAX_PLANVIEW_OFFSET.