Skip to main content

bundle

Function bundle 

Source
pub fn bundle(
    nodes: &[P2],
    edges: &[(usize, usize)],
    p: &BundleParams,
) -> Vec<BundledEdge>
Expand description

Bundle the edges (index pairs into nodes) with FDEB. Returns one BundledEdge per input edge whose path is the bundled control polyline. Deterministic in (nodes, edges, p). Self-loops / out-of-range edges become a straight degenerate path (left unbundled).