Draw a random complete graph. More...
#include <cstdlib>#include <ctime>#include <iostream>#include <fstream>#include <cmath>#include <vector>#include <utility>#include "Board.h"Functions | |
| int | coordinate (int width) |
| void | Koch (ShapeList &board, const Color &color, Point p1, Point p2, int depth) |
| int | main (int, char *[]) |
Variables | |
| const int | HALF_RAND = RAND_MAX/16 |
| const double | dy = 10 |
Draw a random complete graph.
This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey <http://www.greyc.ensicaen.fr/~seb/>
1.6.3