linesweeper

Module sweep

Source
Expand description

The sweep-line implementation.

The details of this implementation are described in the docs directory.

Structs§

  • Describes the interaction between a line segment and a sweep-line.
  • Emits output events for a single sub-range of a single sweep-line.
  • A sweep line event.
  • A sweep-line, as output by a Sweeper.
  • Encapsulates the state of the sweep-line algorithm and allows iterating over sweep lines.

Enums§

  • The different ways in which a line segment can “interact” with a sweep-line.
  • The different kinds of sweep line events.

Functions§

  • Runs the sweep-line algorithm, calling the provided callback on every output point.