#include <Geometry.h>
类 carla::road::element::GeometryArc 继承关系图:
carla::road::element::GeometryArc 的协作图:Public 成员函数 | |
| std::pair< float, float > | DistanceTo (const geom::Location &p) const override |
| 返回一个包含以下内容的数对: 更多... | |
| GeometryArc (double start_offset, double length, double heading, const geom::Location &start_pos, double curv) | |
| double | GetCurvature () const |
| DirectedPoint | PosFromDist (double dist) const override |
Public 成员函数 继承自 carla::road::element::Geometry | |
| virtual std::pair< float, float > | DistanceTo (const geom::Location &p) const =0 |
| double | GetHeading () const |
| double | GetLength () const |
| double | GetStartOffset () const |
| const geom::Location & | GetStartPosition () |
| GeometryType | GetType () const |
| virtual DirectedPoint | PosFromDist (double dist) const =0 |
| virtual | ~Geometry ()=default |
Private 属性 | |
| double | _curvature |
额外继承的成员函数 | |
Protected 成员函数 继承自 carla::road::element::Geometry | |
| Geometry (GeometryType type, double start_offset, double length, double heading, const geom::Location &start_pos) | |
Protected 属性 继承自 carla::road::element::Geometry | |
| double | _heading |
| double | _length |
| geom::Location | _start_position |
| double | _start_position_offset |
| GeometryType | _type |
在文件 Geometry.h 第 157 行定义.
|
inline |
在文件 Geometry.h 第 160 行定义.
|
inlineoverridevirtual |
返回一个包含以下内容的数对:
| p | 为用于计算距离的点。 |
实现了 carla::road::element::Geometry.
在文件 Geometry.h 第 177 行定义.
引用了 _curvature, carla::road::element::Geometry::_heading, carla::road::element::Geometry::_length, carla::road::element::Geometry::_start_position , 以及 carla::geom::Math::DistanceArcToPoint().
函数调用图:
|
inline |
在文件 Geometry.h 第 187 行定义.
引用了 _curvature.
|
overridevirtual |
实现了 carla::road::element::Geometry.
在文件 Geometry.cpp 第 76 行定义.
引用了 _curvature, carla::road::element::Geometry::_heading, carla::road::element::Geometry::_length, carla::road::element::Geometry::_start_position, carla::geom::Math::Clamp(), DEBUG_ASSERT, carla::road::element::DirectedPoint::location, carla::road::element::DirectedPoint::tangent, carla::geom::Vector3D::x , 以及 carla::geom::Vector3D::y.
函数调用图:
|
private |
在文件 Geometry.h 第 193 行定义.
被这些函数引用 DistanceTo(), GetCurvature() , 以及 PosFromDist().