pub fn largest_fillet_distances(
model: &Model,
solid: &Shape,
edge: &Shape,
face: &Shape,
on_face: f64,
on_other: f64,
up_to: f64,
tol: Tolerances,
) -> OgeomResult<Option<f64>>Expand description
The largest common scale up to up_to of an asymmetric round’s two
distances at which fillet_edge_distances on edge is not refused
for a contact set back past its face’s side: the round meeting face
s * on_face from the edge and the other face s * on_other from it.
None where no scale leaving both distances longer than the confusion
distance fits.
Read from the seat, without building a band, as
largest_chamfer_distance reads a
bevel’s legs: each contact walks square to the edge, its own distance
per unit of scale into its face, and the answer is where the first walk
leaves its face, a confusion distance short. On a rim the cap’s contact
stops short of the axis. The answer passes the round’s own check.
§Errors
OgeomError::Construction if
up_to or a distance is not a usable length, and as
fillet_edge_distances where the seat is refused at any scale;
OgeomError::NotDone where the
scale read from the seat does not pass the round’s own check.