Otclient  14/8/2020
point.h File Reference
#include "../stdext/types.h"
#include <sstream>
#include <cmath>
Include dependency graph for point.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TSize< T >
 
class  TPoint< T >
 

Typedefs

typedef TPoint< int > Point
 
typedef TPoint< float > PointF
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &out, const TPoint< T > &point)
 
template<class T >
std::istream & operator>> (std::istream &in, TPoint< T > &point)
 

Typedef Documentation

◆ Point

typedef TPoint<int> Point

Definition at line 86 of file point.h.

◆ PointF

typedef TPoint<float> PointF

Definition at line 87 of file point.h.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  out,
const TPoint< T > &  point 
)

Definition at line 90 of file point.h.

◆ operator>>()

template<class T >
std::istream& operator>> ( std::istream &  in,
TPoint< T > &  point 
)

Definition at line 97 of file point.h.