SDC C-Project CF Review 프로그램
LYW
2021-07-08 9cbd9e554f9956b3b945b51602f1d4a3fa0353e1
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);
   };
}