#include <Geometry.h>
◆ GeometrySpiral()
carla::road::element::GeometrySpiral::GeometrySpiral |
( |
double | start_offset, |
|
|
double | length, |
|
|
double | heading, |
|
|
const geom::Location & | start_pos, |
|
|
double | curv_s, |
|
|
double | curv_e ) |
|
inline |
◆ DistanceTo()
std::pair< float, float > carla::road::element::GeometrySpiral::DistanceTo |
( |
const geom::Location & | location | ) |
const |
|
overridevirtual |
◆ GetCurveEnd()
double carla::road::element::GeometrySpiral::GetCurveEnd |
( |
| ) |
|
|
inline |
◆ GetCurveStart()
double carla::road::element::GeometrySpiral::GetCurveStart |
( |
| ) |
|
|
inline |
◆ PosFromDist()
DirectedPoint carla::road::element::GeometrySpiral::PosFromDist |
( |
double | dist | ) |
const |
|
overridevirtual |
实现了 carla::road::element::Geometry.
在文件 Geometry.cpp 第 69 行定义.
引用了 _curve_end, _curve_start, 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, odrSpiral(), carla::road::element::RotatebyAngle(), carla::road::element::DirectedPoint::tangent, carla::geom::Vector2D::x, carla::geom::Vector3D::x, carla::geom::Vector2D::y , 以及 carla::geom::Vector3D::y.
◆ _curve_end
double carla::road::element::GeometrySpiral::_curve_end |
|
private |
◆ _curve_start
double carla::road::element::GeometrySpiral::_curve_start |
|
private |
该类的文档由以下文件生成: