From ebfd7a15f5c7fe5d4cf9120a49b21f3cffd050f7 Mon Sep 17 00:00:00 2001
From: LYW <leeyeanwoo@diteam.co.kr>
Date: 화, 10 8월 2021 18:40:18 +0900
Subject: [PATCH] 1. Defect Picking 기능 OFF

---
 ReviewHistory/include/akCore/akMath.h |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/ReviewHistory/include/akCore/akMath.h b/ReviewHistory/include/akCore/akMath.h
new file mode 100644
index 0000000..886716a
--- /dev/null
+++ b/ReviewHistory/include/akCore/akMath.h
@@ -0,0 +1,37 @@
+#pragma once
+
+
+#include "akCoreLinker.h"
+#include "akStruct.h"
+
+
+namespace akCore
+{
+
+	class AKCORE_DLLSPEC CakMath
+	{
+	public:
+		CakMath(void);
+		~CakMath(void);
+
+	public:
+		//세점이 이루는 각도를 산출
+		double GetAngle3Point(double cX, double cY, double x1, double y1, double x2, double y2 );
+		//평면 폴리곤위에 점이 존재 하는지 검사
+		bool GetIsPointOnPolygon(akVector2d point, akVector2d* polygon, int length); 
+		//한 선위에 점이 있는지 검사
+		bool GetLineOnPoint(akVector3d point, akVector3d line1, akVector3d line2);
+		//2d 회전 좌표(중심점에서 
+		akVector2d GetRotatePosition(akVector2d center, akVector2d point1, double angle);
+
+		//두선의 교차점 구하기(교차점이 있으면 true 반환)
+		bool GetIntersectPoint(akVector2d a1, akVector2d a2, akVector2d b1, akVector2d b2, akVector2d* IP);
+
+		//사각형과 직선 교차점 구하기(교차점이 있으면 true 반환)
+		//bool GetIntersectRectLine(CakRectd rectSqure, CakPointd p1, CakPointd p2, CakPointd* pResult, int* pResultFaceID);
+		//사각형과 폴리곤의 교차점 구하기(교차점이 있으면 true 반환)
+		//bool GetIntersectRectPolygon(CakRectd rectSqure, CakPointd* pPolygon, int nPolygonNum, CakPointd* pResult, int* pResultNum);
+
+	};
+
+}
\ No newline at end of file

--
Gitblit v1.9.3