SDC C-Project CF Review 프로그램
LYW
2022-04-21 75c1317438374ab8555e85b491b36113b5aeb9c7
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"