»õ ÆÄÀÏ |
| | |
| | | #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); |
| | | |
| | | }; |
| | | |
| | | } |