SDC C-Project CF Review 프로그램
LYW
2021-07-01 4acd943c6f0beecd3ee573f77d8d6c7524fd5045
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
 
 
#include "akCoreLinker.h"
#include "akStructVector.h"
 
namespace akCore
{
    class AKCORE_DLLSPEC CakWaypoint
    {
    public:
        CakWaypoint(void);
        ~CakWaypoint(void);
 
    public:
        void clear();
        void pointAdd(akVector3d point);
        void pointInsert(unsigned int index, akVector3d point);//¹üÀ§¸¦ ³Ñ¾î°¡¸é Á© µÚ¿¡ Ãß°¡
        void pointDelete(unsigned int index);
        
        int size(){return m_nPointsNum;};
        
        akVector3d& operator [](unsigned int nindex){return m_pPoints[nindex];};
        CakWaypoint& operator= (CakWaypoint& waypoint);
 
    private:
        void secureMemory();
 
    private:
        int m_nMakePoints; //È®º¸ ¸Þ¸ð¸® »çÀÌÁî
        int m_nPointsNum; //ÇöÀç ÀԷµȠPoint °¹¼ö
        akVector3d* m_pPoints; //µ¥ÀÌÅÍ º¯¼ö
 
 
    };
}