Skip to main content

KNOT_IDENTITY_TOL

Constant KNOT_IDENTITY_TOL 

Source
pub const KNOT_IDENTITY_TOL: f64 = 1e-9;
Expand description

Knot IDENTITY tolerance (parameter-space): two knot parameters within this absolute band are treated as the SAME knot for snapping — insert_knot, NurbsCurve::split, monotonicity and clamp checks. This is the single source for the “absolute 1e-9 knot tolerance” that split enforces and that imprint’s trim guards mirror. Distinct in PURPOSE (not just value) from KNOT_DEDUP_EPS; the two are deliberately NOT unified.