Mutable demo
|
#include <iostream>
#include <vector>
#include <cmath>
Go to the source code of this file.
Classes | |
class | Point2D |
Class containing a point in 2D. More... | |
class | Polygon_old |
class | Polygon |
Contains the description of a polygon, now with mutable. The traverse is stored. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &s, const Point2D &rhs) |
Output operator for class Point2D . More... | |
float | dist (const Point2D &a, const Point2D &b) |
Calculates the Euclidian distance between two points in 2D. More... | |