Module concepts

Source
Expand description

Abstraction concepts over geometric primitives.

§References

Traits§

CoordinateBase
Define a type used for coordinates.
CoordinateConcept
Define the coordinate concept. This will be used to parametrize all other geometric concepts.
Interval
Describe an interval of coordinates by a start value and an end value.
IntoPoints
Loop over points/vertices.
IntoSegments
Convert a polygon into an iterator over polygon segments.
PointBase
Basic traits to get and set Kartesian coordinates of a point in the two-dimensional plane.
PointConcept
Concept of a point in the Euclidean plane.
Polygon
Concept of a polygon which consists of a single closed loop of vertices.
Polygon90
Concept of a polygon with axis-aligned edges. The polygon consists of a single closed loop of vertices, i.e. has no holes.
Polygon90Set
Set of multiple polygons with axis-aligned edges.
Polygon90WithHoles
Concept of a polygon with axis-aligned edges and holes.
PolygonSet
Set of multiple polygons edges.
PolygonWithHoles
Concept of a polygon with holes.
Rectangle
Concept of an axis-aligned rectangle.
Segment
A polygon edge.