#include <Geometry.h>
Public Member Functions | |
std::pair< float, float > | DistanceTo (const geom::Location &) const override |
GeometrySpiral (double start_offset, double length, double heading, const geom::Location &start_pos, double curv_s, double curv_e) | |
double | GetCurveEnd () |
double | GetCurveStart () |
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 Attributes | |
double | _curve_end |
double | _curve_start |
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 164 of file Geometry.h.
|
inline |
Definition at line 167 of file Geometry.h.
|
overridevirtual |
Implements carla::road::element::Geometry.
Definition at line 103 of file Geometry.cpp.
References carla::geom::Vector3D::x, and carla::geom::Vector3D::y.
|
inline |
Definition at line 182 of file Geometry.h.
|
inline |
Definition at line 178 of file Geometry.h.
|
overridevirtual |
Implements carla::road::element::Geometry.
Definition at line 69 of file Geometry.cpp.
References carla::geom::Math::Clamp(), DEBUG_ASSERT, carla::road::element::DirectedPoint::location, odrSpiral(), 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 193 of file Geometry.h.
|
private |
Definition at line 192 of file Geometry.h.