linesweeper: a robust sweep-line algorithm
This rust crate implements a "robust" version of the Bentley-Ottmann sweep-line algorithm, and uses it to provide various two-dimensional geometric primitives like boolean operations on sets bounded by Bézier paths. It is currently in an early beta state.
Basic usage
To compute binary operations between curves, use the binary_op function, which
takes in two paths and computes some binary operation on them:
use Shape;
use ;
let square = from_center_size.to_path;
let circle = new.to_path;
binary_op;
Advanced usage
For more advanced usage (like custom n-ary operations) see Topology, or
the example in examples/bus.rs.