#pragma once #include "akSTLLinker.h" template 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 point) throw(); void SetPoint(T X, T Y) throw(); bool operator==(CakPointT point) const throw(); bool operator!=(CakPointT point) const throw(); void operator+=(CakPointT point) throw(); void operator-=(CakPointT point) throw(); // Operators returning CPoint values CakPointT operator-() const throw(); CakPointT operator+(CakPointT point) const throw(); CakPointT operator-(CakPointT point) const throw(); public: T x; T y; }; #include "inl/akPointT.inl"