The largest chord, metres, positive.
The chord's share of the station distance from the traced point to the rail surface's nearer end, inside (0, 1); null for no end bound.
The chord's share of the radius of curvature across the curve, inside (0, 1).
Discriminator.
A chord from a join's curve to one rail as a share of that surface's radius of curvature across the curve:
share / |k|,kthe normal curvature of the rail's surface in the direction square to the curve in its tangent plane at the traced point, capped atcapand, whereendis given, at that share of the station distance from the traced point to the rail surface's nearer end.A rail placed farther round a surface than its radius of curvature in that direction turns past the surface's side and folds the blend, at any scale. A share below one keeps every rail inside that radius wherever the curve runs: a small part's own tight curvature (a lip's or a lid's long-axis end) narrows its rail there and lets it widen where the part is flat. The cap bounds the chord where the surface is flat across the curve (
knear zero). The engine evaluates the law at every traced point and reads it between them by the periodic cubic B-spline through those values, C2 round the loop.A surface that ends near the curve (a dome closing on its pole, a short part) leaves its rail no room past that end however gentle its curvature:
endbounds the chord by a share of the station distance to the nearer end, so the rail stays on the surface as it approaches a pole.Engine admission:
shareinside(0, 1);cappositive;end, when given, inside(0, 1).