template<typename T>
class recti::RPolygonVertexIterator< T >
Rectilinear Polygon.
RPolygon is a class template that represents a rectilinear polygon. It stores the origin point and a vector of edges that define the polygon. The template parameter T specifies the type of the coordinates of the points.
+-----------------------------+
+-----------------------------+
| _vecs: vector<Vector2<T>> |
| |
| +----+ |
| | | | A rectilinear polygon class
| +---+ | | with origin point and
| | | | | vectors defining the polygon
| | +----+ | edges. Supports various
| | | geometric operations
| +------------------------+
| vertices() |
| signed_area() |
+-----------------------------+
Point.
Definition point.hpp:30
Definition rpolygon.hpp:86
- Template Parameters
-
Forward iterator for RPolygon vertices.
Lazily computes vertices from origin + vectors on dereference, avoiding the heap allocation of vertices().