Module iron_shapes_booleanop::connect_edges
source · Expand description
Connect the resulting edges of the sweep line algorithm into polygons.
Structs
- Event 🔒
Functions
- Given the processed and sorted events, connect the edges to polygons.
- Take all the events that contribute to the result. This depends on the boolean operation to be performed. Also adjusts the
prevpointers for hole attribution. - Given an index of an event get the index of another event with the same coordinates that is not yet marked as used.
- Sort the events and insert indices. Input events must already be filtered such that they only contain relevant events.
- Remove duplicate edges which would form empty polygons.