From 26e2541b87ca76e16cf69399eb9a3cce62d2e864 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 목, 14 10월 2021 17:58:19 +0900 Subject: [PATCH] Ongoing80 #3671 CF AOI Review 전설비 Align Matching 방법 개선 --- ReviewHistory/include/akSTL/akPointT.h | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akSTL/akPointT.h b/ReviewHistory/include/akSTL/akPointT.h new file mode 100644 index 0000000..878f0bd --- /dev/null +++ b/ReviewHistory/include/akSTL/akPointT.h @@ -0,0 +1,37 @@ +#pragma once + +#include "akSTLLinker.h" + +template<typename T> +class CakPointT +{ +public: + CakPointT(void){}; + CakPointT(const T& X, const T& Y):x(X),y(Y) {}; + //~CakPointT(void){}; + + // Operations + + // translate the point + void Offset(T xOffset, T yOffset) throw(); + void Offset(CakPointT<T> point) throw(); + void SetPoint(T X, T Y) throw(); + + bool operator==(CakPointT<T> point) const throw(); + bool operator!=(CakPointT<T> point) const throw(); + void operator+=(CakPointT<T> point) throw(); + void operator-=(CakPointT<T> point) throw(); + + // Operators returning CPoint values + CakPointT<T> operator-() const throw(); + CakPointT<T> operator+(CakPointT<T> point) const throw(); + CakPointT<T> operator-(CakPointT<T> point) const throw(); + + + +public: + T x; + T y; +}; + +#include "inl/akPointT.inl" \ No newline at end of file -- Gitblit v1.9.3