pub fn largest_chamfer_distance(
model: &Model,
solid: &Shape,
edge: &Shape,
spec: &Chamfer,
up_to: f64,
tol: Tolerances,
) -> OgeomResult<Option<f64>>Expand description
The largest measure up to up_to at which a chamfer of spec’s
spelling on edge of solid is not refused for running past its
faces: for Chamfer::Symmetric the distance, for
Chamfer::Distances the largest common scale of its two distances,
and for Chamfer::Angle the distance along its face at its angle;
the measure spec itself names is not read. None where no measure
leaving both legs longer than the confusion distance fits.
Read from the seat, without building a wedge. On a straight edge
between planes, a convex bevel’s leg runs at most as far as its face
reaches back from the edge, the bound chamfer_edges_with refuses
past, and the answer is exact against it; a concave one fuses and runs
past no face. On a rim, the cap’s leg stops short of the axis, and
each leg’s contact stays on its face at the stations
largest_fillet_radius reads, a
confusion distance short.
§Errors
As chamfer_edges_with where the seat or spelling is refused at any
measure, and OgeomError::Construction
if up_to is not a usable length; as
largest_fillet_radius where a
contact’s walk on a rim depends on the measure.