»õ ÆÄÀÏ |
| | |
| | | #pragma once |
| | | |
| | | |
| | | #include "akSTLLinker.h" |
| | | #include "akSTLVector.h" |
| | | |
| | | namespace akSTL |
| | | { |
| | | class AKSTL_DLLSPEC CakWaypoint |
| | | { |
| | | public: |
| | | CakWaypoint(void); |
| | | ~CakWaypoint(void); |
| | | |
| | | public: |
| | | void clear(); |
| | | void pointAdd(khVector3d point); |
| | | void pointInsert(unsigned int index, khVector3d point);//ë²ì를 ëì´ê°ë©´ ì ¤ ë¤ì ì¶ê° |
| | | void pointDelete(unsigned int index); |
| | | |
| | | int size(){return m_nPointsNum;}; |
| | | |
| | | khVector3d& operator [](unsigned int nindex){return m_pPoints[nindex];}; |
| | | CakWaypoint& operator= (CakWaypoint& waypoint); |
| | | |
| | | private: |
| | | void secureMemory(); |
| | | |
| | | private: |
| | | int m_nMakePoints; //íë³´ ë©ëª¨ë¦¬ ì¬ì´ì¦ |
| | | int m_nPointsNum; //íì¬ ì
ë ¥ë Point ê°¯ì |
| | | khVector3d* m_pPoints; //ë°ì´í° ë³ì |
| | | |
| | | |
| | | }; |
| | | } |