SDC C-Project CF Review 프로그램
LYW
2021-11-15 4139a71f5c0b72f88813a15d7112fdac76756fe4
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
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
 
#include "akSTLLinker.h"
#include "akPointT.h"
 
#define CakPointToCPoint(akPoint) CPoint(akPoint.x, akPoint.y)
#define CPointToCakPoint(point) CakPoint(point.x, point.y)
 
class AKSTL_DLLSPEC CakPoint : public CakPointT<long>
{
public:
 
    CakPoint(){};
    virtual ~CakPoint(){};
 
    CakPoint(const long& X, const long& Y) 
    {
        x=X,y=Y;
    };
 
    void test();
};
 
class AKSTL_DLLSPEC CakPointf : public CakPointT<float>
{
public:
 
    CakPointf(){};
    virtual ~CakPointf(){};
 
    CakPointf(const float& X, const float& Y) 
    {
        x=X,y=Y;
    };
};
 
class AKSTL_DLLSPEC CakPointd : public CakPointT<double>
{
public:
 
    CakPointd(){};
    virtual ~CakPointd(){};
 
    CakPointd(const double& X, const double& Y) 
    {
        x=X,y=Y;
    };
};