Skip to main content

snap_round

Function snap_round 

Source
pub fn snap_round(
    points: &ExactPoints,
    edges: &[Segment],
    budget: &mut PairBudget,
    declared_bytes: usize,
    options: &ExecutionOptions,
) -> GeomResult<Snapped>
Expand description

Snap-round edges, straight segments between distinct points of points.

The edges must be pairwise interior-disjoint with no end inside another (a boundary subgraph of an arrangement). Every examined edge and cell pair counts against budget; cells and fragments are charged against the memory budget on top of declared_bytes, as in arrange.