Skip to main content

hull_proxy

Function hull_proxy 

Source
pub fn hull_proxy(
    include: &[(f64, f64)],
    exclude: &[(f64, f64)],
    pad: f64,
    exclude_pad: f64,
) -> Shape
Expand description

Build a concave hull proxy through include points, pad for exclude.

Not a convex hull: long chords dig inward toward interior include samples so L-shaped sets keep bays. After outward normal pad, any exclude still inside (or within exclude_pad) forces an inward notch so the polygon cannot swallow excluded atoms. Vertex-only push is not enough.