pub fn fillet_edges_cornered(
model: &mut Model,
solid: &Shape,
edges: &[Shape],
radius: f64,
corners: &[(Shape, Setbacks)],
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Round edges of solid at radius, as fillet_edges
does, with each vertex of corners closed as a setback corner, as
round_vertex_setback closes it.
Every corner is read off the solid before its edges are rounded, the
edges are rounded once, and each corner is then cut back to its
setbacks and its opening filled. Vertices not named close in the
ball’s own corner. A setback corner rounds every edge that meets its
vertex, so each of them must be in edges. Along an edge between two
named corners, the two setbacks must stop short of each other.
What solid shares with other shapes is copied before it is worked on
(ogeom_algo::on_own_nodes), which leaves them as they are.
§Errors
As round_vertex_setback for each corner and
fillet_edges for the edges;
OgeomError::Construction
where a vertex is named twice, an edge meeting a named vertex is not in
edges, or the setbacks at both ends of an edge meet.