24 throw std::invalid_argument(
"Cannot create iterator for invalid polygon.");
Iterator(const ConvexPolygon &polygon)
Constructor.
PolygonEdge edge() const
Create a directed edge between this and the next point.
void operator++()
Prefix increment operator.
const Kernel::V2D & operator*() const
Dereference operator.
size_t nextIndex() const
Compute the next index.
An implementation of a convex polygon.
bool isValid() const
Check if polygon is valid.
PolygonEdge Defines a directed edge between two points on a polygon.
Implements a 2-dimensional vector embedded in a 3D space, i.e.