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