|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
2D polygon representation and geometric operations. More...
#include <dlink.H>#include <point.H>#include <ah-errors.H>#include <ah-dry.H>#include <ahDry.H>#include <ah-iterator.H>#include <string>#include <utility>Go to the source code of this file.
Classes | |
| class | Aleph::Vertex |
| A vertex in a polygon's doubly linked vertex list. More... | |
| class | Aleph::Polygon |
| A general (irregular) 2D polygon defined by a sequence of vertices. More... | |
| class | Aleph::Polygon::Iterator |
| STL/Aleph-compatible iterator over polygon vertices as Points. More... | |
| struct | Aleph::Polygon::Vertex_Iterator |
| Iterator over the vertices of a polygon. More... | |
| class | Aleph::Polygon::Segment_Iterator |
| Iterator over the edges (segments) of a polygon. More... | |
| class | Aleph::Regular_Polygon |
| A regular polygon defined by center, side length, and vertex count. More... | |
| class | Aleph::Regular_Polygon::Vertex_Iterator |
| Iterator over the vertices of a regular polygon. More... | |
| class | Aleph::Regular_Polygon::Segment_Iterator |
| Iterator over the edges (segments) of a regular polygon. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| std::ostream & | Aleph::operator<< (std::ostream &o, const Polygon &p) |
| Output stream operator for Polygon. | |
| std::ostream & | Aleph::operator<< (std::ostream &o, const Regular_Polygon &p) |
| Output stream operator for Regular_Polygon. | |
2D polygon representation and geometric operations.
This file provides classes for representing and manipulating 2D polygons:
None of the classes in this file are thread-safe. External synchronization is required for concurrent access.
Definition in file polygon.H.