SDC C-Project CF Review 프로그램
LYW
2021-08-25 03152a241b9463c582b56896f5f5f73717497ab4
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"