From 148a951e0d44577997fd2790f889dcdd7dbd6889 Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期五, 17 四月 2020 17:53:18 +0800 Subject: [PATCH] 坐标 --- lib/src/main/cpp/test_common/Geometry.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib/src/main/cpp/test_common/Geometry.h b/lib/src/main/cpp/test_common/Geometry.h index ebfd47c..cfe73be 100644 --- a/lib/src/main/cpp/test_common/Geometry.h +++ b/lib/src/main/cpp/test_common/Geometry.h @@ -57,8 +57,9 @@ bool PartInsidePolygon(const Polygon *t1, const Polygon *t2); bool OutsidePolygon(const Polygon *t1, const Polygon *t2); int IntersectionOfLine(PointF p1, PointF p2, PointF p3); +int IntersectionOfLine(PointF p, Line line); PointF GetVerticalPoint(PointF p1, PointF p2, PointF p3); bool VerticalPointOnLine(PointF point, Line line); PointF Calc3Point(PointF p1, PointF p2, double L, char dir); - +PointF PointExtend(PointF ori, double length, double yaw); #endif //GUI_GEOMETRY_H -- Gitblit v1.8.0