#include <RoadInfoElevation.h>
Public Member Functions | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
double | Evaluate (const double dist, double &out_tan) const |
const geom::CubicPolynomial & | GetPolynomial () const |
RoadInfoElevation (double s, double a, double b, double c, double d) | |
Public Member Functions inherited from carla::road::element::RoadInfo | |
double | GetDistance () const |
Distance from road's start location. More... | |
virtual | ~RoadInfo ()=default |
Private Attributes | |
const geom::CubicPolynomial | _elevation |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
Definition at line 16 of file RoadInfoElevation.h.
|
inline |
Definition at line 19 of file RoadInfoElevation.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 28 of file RoadInfoElevation.h.
|
inline |
Definition at line 33 of file RoadInfoElevation.h.
References _elevation, carla::geom::CubicPolynomial::Evaluate(), and carla::geom::CubicPolynomial::Tangent().
|
inline |
Definition at line 38 of file RoadInfoElevation.h.
References _elevation.
|
private |
Definition at line 44 of file RoadInfoElevation.h.
Referenced by Evaluate(), and GetPolynomial().