Skip to main content

largest_fillet_radius_all

Function largest_fillet_radius_all 

Source
pub fn largest_fillet_radius_all(
    model: &Model,
    solid: &Shape,
    edges: &[Shape],
    up_to: f64,
    tol: Tolerances,
) -> OgeomResult<Option<f64>>
Expand description

The largest radius up to up_to at which the bands of edges all sit with their contacts on their faces, as largest_fillet_radius reads each, and no band’s contact comes within another’s setback of its edge across a face they share, the overlap fillet_edges refuses. Edges meeting at a vertex are corner mates, whose bands meet there by design, and are not held apart; vertices and faces are told apart by placement as well as node, as that refusal tells them. None where no radius above the confusion distance fits.

A contact’s distance to another edge changes no faster than the contact walks, and the edge’s setback grows linearly, so the radius where the two first meet is approached from below in steps that cannot pass it.

§Errors

As largest_fillet_radius, and OgeomError::Construction if edges is empty.