#include <point_factory.h>
|
template<typename XY > |
static math::Vec2d | ToVec2d (const XY &xy) |
|
static SLPoint | ToSLPoint (const double s, const double l) |
|
static PointENU | ToPointENU (const double x, const double y, const double z=0) |
|
template<typename XYZ > |
static PointENU | ToPointENU (const XYZ &xyz) |
|
static SpeedPoint | ToSpeedPoint (const double s, const double t, const double v=0, const double a=0, const double da=0) |
|
static PathPoint | ToPathPoint (const double x, const double y, const double z=0, const double s=0, const double theta=0, const double kappa=0, const double dkappa=0, const double ddkappa=0) |
|
◆ ToPathPoint()
static PathPoint apollo::common::util::PointFactory::ToPathPoint |
( |
const double |
x, |
|
|
const double |
y, |
|
|
const double |
z = 0 , |
|
|
const double |
s = 0 , |
|
|
const double |
theta = 0 , |
|
|
const double |
kappa = 0 , |
|
|
const double |
dkappa = 0 , |
|
|
const double |
ddkappa = 0 |
|
) |
| |
|
inlinestatic |
在文件 point_factory.h 第 67 行定义.
72 {
73 PathPoint path_point;
74 path_point.set_x(x);
75 path_point.set_y(y);
76 path_point.set_z(z);
77 path_point.set_s(s);
78 path_point.set_theta(theta);
79 path_point.set_kappa(kappa);
80 path_point.set_dkappa(dkappa);
81 path_point.set_ddkappa(ddkappa);
82 return path_point;
83 }
◆ ToPointENU() [1/2]
static PointENU apollo::common::util::PointFactory::ToPointENU |
( |
const double |
x, |
|
|
const double |
y, |
|
|
const double |
z = 0 |
|
) |
| |
|
inlinestatic |
在文件 point_factory.h 第 41 行定义.
42 {
43 PointENU point_enu;
44 point_enu.set_x(x);
45 point_enu.set_y(y);
46 point_enu.set_z(z);
47 return point_enu;
48 }
◆ ToPointENU() [2/2]
template<typename XYZ >
static PointENU apollo::common::util::PointFactory::ToPointENU |
( |
const XYZ & |
xyz | ) |
|
|
inlinestatic |
在文件 point_factory.h 第 51 行定义.
51 {
53 }
static PointENU ToPointENU(const double x, const double y, const double z=0)
◆ ToSLPoint()
static SLPoint apollo::common::util::PointFactory::ToSLPoint |
( |
const double |
s, |
|
|
const double |
l |
|
) |
| |
|
inlinestatic |
在文件 point_factory.h 第 34 行定义.
34 {
35 SLPoint sl;
36 sl.set_s(s);
37 sl.set_l(l);
38 return sl;
39 }
◆ ToSpeedPoint()
static SpeedPoint apollo::common::util::PointFactory::ToSpeedPoint |
( |
const double |
s, |
|
|
const double |
t, |
|
|
const double |
v = 0 , |
|
|
const double |
a = 0 , |
|
|
const double |
da = 0 |
|
) |
| |
|
inlinestatic |
在文件 point_factory.h 第 55 行定义.
57 {
58 SpeedPoint speed_point;
59 speed_point.set_s(s);
60 speed_point.set_t(t);
61 speed_point.set_v(v);
62 speed_point.set_a(a);
63 speed_point.set_da(da);
64 return speed_point;
65 }
◆ ToVec2d()
template<typename XY >
static math::Vec2d apollo::common::util::PointFactory::ToVec2d |
( |
const XY & |
xy | ) |
|
|
inlinestatic |
该类的文档由以下文件生成: