TCMathCoord2D.h File Reference

This file provides the definition of TC::Math::Coord2D. More...

#include "TCMathUtil.h"
#include "TCStream.h"
#include "TCUtil.h"
#include <cmath>

Include dependency graph for TCMathCoord2D.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  TC::Math::Coord2D< T >
 Class for handling 2D values with implementation of all common operators needed. More...

Namespaces

namespace  TC
namespace  TC::Math
 TC::Math is intended to provide methods to perform common math operations.

Functions

template<class T >
const Coord2D< T > TC::Math::operator* (const Coord2D< T > &v, const T &vIn)
template<class T >
const Coord2D< T > TC::Math::operator* (const T &vIn, const Coord2D< T > &v)
template<class T >
const T TC::Math::operator* (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
const Coord2D< T > TC::Math::operator/ (const Coord2D< T > &v, const T &vIn)
template<class T >
const Coord2D< T > TC::Math::operator/ (const T &vIn, const Coord2D< T > &v)
template<class T >
const Coord2D< T > TC::Math::operator+ (const Coord2D< T > &v, const Coord2D< T > &b)
template<class T >
const Coord2D< T > TC::Math::operator+ (const Coord2D< T > &v, const T &b)
template<class T >
const Coord2D< T > TC::Math::operator- (const Coord2D< T > &v, const Coord2D< T > &b)
template<class T >
const Coord2D< T > TC::Math::operator- (const Coord2D< T > &v, const T &b)
template<class T >
const Coord2D< T > TC::Math::operator- (const Coord2D< T > &v)
template<class T >
bool TC::Math::operator> (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
bool TC::Math::operator< (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
bool TC::Math::operator== (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
bool TC::Math::operator!= (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
bool TC::Math::operator>= (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
bool TC::Math::operator<= (const Coord2D< T > &a, const Coord2D< T > &b)
template<class T >
StreamPtr TC::Math::operator>> (StreamPtr stream, Coord2D< T > &coord)
 read operator for reading the data from a Stream
template<class T >
StreamPtr TC::Math::operator<< (StreamPtr stream, const Coord2D< T > &coord)
 write operator for writing the data to a Stream


Detailed Description

This file provides the definition of TC::Math::Coord2D.

Author:
Thomas Goessler

Definition in file TCMathCoord2D.h.


Copyright (c) Thomas Goessler 2003 - 2008