#include <map>
#include <set>
#include <algorithm>
#include <iostream>
#include <string>
#include <sstream>
#include <math.h>
#include "post-script.h"
#include <time.h>
Classes | |
struct | Coords< _DIM, T > |
Structure storing coordinates. More... | |
class | CUBE< _DIM > |
Single cube. More... | |
class | SET< _DIM > |
Set of cubes. More... | |
class | MAP< _DIM > |
Map which arguments are cubes and values set of cubes. More... | |
Functions | |
template<class T> | |
void | saveToPs (string name, const SET< 2 > &s, const Coords< 2, T > &sides) |
Function saving SET<2> to postscript file. | |
template<int _DIM, class T> | |
std::ostream & | operator<< (std::ostream &os, const Coords< _DIM, T > &co) |
template<int _DIM> | |
std::ostream & | operator<< (std::ostream &os, const CUBE< _DIM > &k) |
template<int _DIM> | |
std::ostream & | operator<< (std::ostream &os, const SET< _DIM > &s) |
template<int _DIM> | |
void | operator>> (std::string str, SET< _DIM > &s) |
template<int _DIM> | |
std::ostream & | operator<< (std::ostream &os, MAP< _DIM > &m) |
std::ostream& operator<< | ( | std::ostream & | os, | |
MAP< _DIM > & | m | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const SET< _DIM > & | s | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const CUBE< _DIM > & | k | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const Coords< _DIM, T > & | co | |||
) | [inline] |
void operator>> | ( | std::string | str, | |
SET< _DIM > & | s | |||
) | [inline] |
void saveToPs | ( | string | name, | |
const SET< 2 > & | s, | |||
const Coords< 2, T > & | sides | |||
) | [inline] |
Function saving SET<2> to postscript file.
It uses functions from post-script.h file.