From 9020bfb6f86ff853d5d5b3cee882132a244232da Mon Sep 17 00:00:00 2001 From: KEJ <kimeungju@diteam.co.kr> Date: 금, 24 11월 2023 15:33:29 +0900 Subject: [PATCH] Merge branch 'feature/#4528_CF_AOI_Review_Motor_Offset_기능_추가' into develop --- ReviewHistory/include/akSTL/akPoint.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akSTL/akPoint.h b/ReviewHistory/include/akSTL/akPoint.h new file mode 100644 index 0000000..372fed3 --- /dev/null +++ b/ReviewHistory/include/akSTL/akPoint.h @@ -0,0 +1,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; + }; +}; \ No newline at end of file -- Gitblit v1.9.3