From 4ff195404b21f74ca11e26a69cbf0418eaa4595f Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期二, 17 三月 2020 17:57:03 +0800 Subject: [PATCH] 科目三草案实现 --- lib/src/main/cpp/Geometry.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/src/main/cpp/Geometry.h b/lib/src/main/cpp/Geometry.h index 12db160..d050c05 100644 --- a/lib/src/main/cpp/Geometry.h +++ b/lib/src/main/cpp/Geometry.h @@ -48,6 +48,7 @@ Relation IntersectionOf(Line line1, Line line2); double DistanceOf(PointF point1, PointF point2); double DistanceOf(PointF point, Line line); +double YawOf(PointF p1, PointF p2); double CalculateAngle(Line base, Line dest); PointF rotatePoint(PointF oldPoint, PointF centre, double degree); bool InsidePolygon(const Polygon *t1, const Polygon *t2); -- Gitblit v1.8.0