In plain language this is an algorithm that takes as input a list of arc-segments + a distance, and makes a boundary around them at this distance.
The problem is basically to find the boundary of a
minkowski sum
of sets
I claim that this set can again be described as a union of arcs, and we want to find a list of arcs (preferably disjoint) that make up this union.
Requirements:
Run:
cargo run
cargo run --example [name]
(checkout./examples
folder)
Very much work-in-progress/alpha. Issues include:
- Numerical instabilities
- Lack of support for lines (can be viewed as the special case when
$r \to \infty$ )
Minkowski addition is already implemented in the case where
- https://samestep.github.io/minkowski/ (in Rust)
- https://doc.cgal.org/latest/Minkowski_sum_2/index.html#Chapter_2D_Minkowski_Sums (in C++)
Using these solutions with