From 0701276b4fec856d5427e4776eec3cc7c56ec065 Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期二, 25 八月 2020 17:51:10 +0800 Subject: [PATCH] 坐标 --- lib/src/main/cpp/test_common/Geometry.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/src/main/cpp/test_common/Geometry.h b/lib/src/main/cpp/test_common/Geometry.h index 399bafb..6ae52a3 100644 --- a/lib/src/main/cpp/test_common/Geometry.h +++ b/lib/src/main/cpp/test_common/Geometry.h @@ -7,6 +7,7 @@ #include <stdint.h> #include <initializer_list> +#include <vector> enum Relation { @@ -64,5 +65,6 @@ PointF Calc3Point(PointF p1, PointF p2, double L, char dir); PointF PointExtend(PointF ori, double length, double yaw); bool IsSamePoint(PointF p1, PointF p2); +double AvgYaw(std::vector<double> &angles); #endif //GUI_GEOMETRY_H -- Gitblit v1.8.0