#include "TCMathUtil.h"
#include "TCStream.h"
#include "TCUtil.h"
#include <cmath>
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 |
Definition in file TCMathCoord2D.h.