pub fn curve_model_scale(
curve: &NurbsCurve,
t0: f64,
t1: f64,
) -> Result<f64, String>Expand description
model_scale of a curve, sampled uniformly over [t0, t1].
The characteristic length of a local solve — one edge and its immediate
neighbourhood — is the extent of the curve being marched, not the extent of
the whole solid it belongs to and emphatically not its distance from the
origin. Sampling is uniform and at a fixed count so the result is
deterministic and cheap next to the solves it scales. Probes are evaluate,
which CLAMPS to the knot domain, so an overshot range still measures the
curve’s own extent rather than an extrapolation’s.