#include <Geometry.h>
Classes | |
struct | RtreeValue |
Public Member Functions | |
std::pair< float, float > | DistanceTo (const geom::Location &) const override |
GeometryPoly3 (double start_offset, double length, double heading, const geom::Location &start_pos, double a, double b, double c, double d) | |
double | Geta () const |
double | Getb () const |
double | Getc () const |
double | Getd () const |
DirectedPoint | PosFromDist (double dist) const override |
Public Member Functions inherited from carla::road::element::Geometry | |
double | GetHeading () const |
double | GetLength () const |
double | GetStartOffset () const |
const geom::Location & | GetStartPosition () |
GeometryType | GetType () const |
virtual | ~Geometry ()=default |
Private Types | |
using | Rtree = geom::SegmentCloudRtree< RtreeValue, 1 > |
using | TreeElement = Rtree::TreeElement |
Private Member Functions | |
void | PreComputeSpline () |
Private Attributes | |
double | _a |
double | _b |
double | _c |
double | _d |
geom::CubicPolynomial | _poly |
Rtree | _rtree |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::Geometry | |
Geometry (GeometryType type, double start_offset, double length, double heading, const geom::Location &start_pos) | |
Protected Attributes inherited from carla::road::element::Geometry | |
double | _heading |
double | _length |
geom::Location | _start_position |
double | _start_position_offset |
GeometryType | _type |
Definition at line 196 of file Geometry.h.
|
private |
Definition at line 249 of file Geometry.h.
|
private |
Definition at line 250 of file Geometry.h.
|
inline |
Definition at line 199 of file Geometry.h.
|
overridevirtual |
Implements carla::road::element::Geometry.
Definition at line 128 of file Geometry.cpp.
|
inline |
Definition at line 217 of file Geometry.h.
|
inline |
Definition at line 220 of file Geometry.h.
|
inline |
Definition at line 223 of file Geometry.h.
|
inline |
Definition at line 226 of file Geometry.h.
|
overridevirtual |
Implements carla::road::element::Geometry.
Definition at line 109 of file Geometry.cpp.
References carla::road::element::DirectedPoint::location, carla::road::element::RotatebyAngle(), carla::road::element::DirectedPoint::tangent, carla::geom::Vector2D::x, carla::geom::Vector3D::x, carla::geom::Vector2D::y, and carla::geom::Vector3D::y.
|
private |
Definition at line 134 of file Geometry.cpp.
|
private |
Definition at line 238 of file Geometry.h.
|
private |
Definition at line 239 of file Geometry.h.
|
private |
Definition at line 240 of file Geometry.h.
|
private |
Definition at line 241 of file Geometry.h.
|
private |
Definition at line 236 of file Geometry.h.
|
private |
Definition at line 251 of file Geometry.h.