#include <Geometry.h>
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 |
![]() | |
double | GetHeading () const |
double | GetLength () const |
double | GetStartOffset () const |
const geom::Location & | GetStartPosition () |
GeometryType | GetType () const |
virtual | ~Geometry ()=default |
Private 属性 | |
double | _curvature |
额外继承的成员函数 | |
![]() | |
Geometry (GeometryType type, double start_offset, double length, double heading, const geom::Location &start_pos) | |
![]() | |
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().