From 12c02f064db12d6d94063bf6dd9e4eb80f4252b8 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 11 10월 2021 15:30:00 +0900 Subject: [PATCH] Ongoing60 #3662 CF AOI Review 전설비 알람 발생 조치 - Review History File Mapping 해제 - Review Inner History 다운 현상 예외처리 추가 - Review End 시 Review 다운 현상 예외처리 추가 --- ReviewHistory/include/akSTL/backup/akMath.h | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akSTL/backup/akMath.h b/ReviewHistory/include/akSTL/backup/akMath.h new file mode 100644 index 0000000..7d84e61 --- /dev/null +++ b/ReviewHistory/include/akSTL/backup/akMath.h @@ -0,0 +1,30 @@ +#pragma once + + +#include "akLinker.h" +#include "akSTL.h" + +namespace akSTL +{ + + class akSTL_DLLSPEC CakMath + { + public: + CakMath(void); + ~CakMath(void); + + public: + //세점이 이루는 각도를 산출 + double GetAngle3Point(double cX, double cY, double x1, double y1, double x2, double y2 ); + //평면 폴리곤위에 점이 존재 하는지 검사 + bool GetIsPointOnPolygon(khVector2d point, khVector2d* polygon, int length); + //한 선위에 점이 있는지 검사 + bool GetLineOnPoint(khVector3d point, khVector3d line1, khVector3d line2); + //2d 회전 좌표(중심점에서 + khVector2d GetRotatePosition(khVector2d center, khVector2d point1, double angle); + + //두선의 교차점 구하기(교차점이 있으면 true 반환) + bool GetIntersectPoint(khVector2d a1, khVector2d a2, khVector2d b1, khVector2d b2, khVector2d* IP); + }; + +} \ No newline at end of file -- Gitblit v1.9.3