From 6c48319c60c4eb6ad4ff3631f5caa6b297d2e787 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 수, 18 8월 2021 09:06:18 +0900 Subject: [PATCH] Merge branch 'feature/#3561_CF_AOI_Review_Align_카메라_끊김_현상_조치' into feature/#3562_CF_AOI_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